Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aagate
python-dist
python-dist-no-six.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-dist-no-six.patch of Package python-dist
Index: dist-1.0.3/tests/test_performance.py =================================================================== --- dist-1.0.3.orig/tests/test_performance.py +++ dist-1.0.3/tests/test_performance.py @@ -1,8 +1,6 @@ import math from timeit import default_timer as timer -from six.moves import xrange - import dist @@ -27,14 +25,14 @@ def test_positive_scenario(): def test_performance(): start_time = timer() - for _ in xrange(10000000): + for _ in range(10000000): pure_py_dist(10.1, 12.1, 10.1, 10.1) pure_py_time = timer() - start_time start_time = timer() - for _ in xrange(10000000): + for _ in range(10000000): dist.compute(10.1, 12.1, 10.1, 10.1) ext_time = timer() - start_time
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor