Skip to content

Commit

Permalink
Fix duplicate keyword in package import
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Jan 29, 2024
1 parent 4bbdb78 commit 2f3d707
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ def setup(self):

def time_keys(self):
"""Time first method."""
example_module.example_module.run_time_computation()
example_module.run_time_computation()

def time_iterkeys(self):
"""Time second method."""
example_module.example_module.run_time_computation()
example_module.run_time_computation()

def time_range(self):
"""Time third method."""
example_module.example_module.run_time_computation()
example_module.run_time_computation()

def time_xrange(self):
"""Time fourth method."""
example_module.example_module.run_time_computation()
example_module.run_time_computation()


class MemSuite: # pylint: disable=too-few-public-methods
"""An example benchmark that times memory consumption."""

def mem_list(self):
return example_module.example_module.run_mem_computation()
return example_module.run_mem_computation()

0 comments on commit 2f3d707

Please sign in to comment.