diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-26 16:39:43 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-03-26 16:39:43 -0400 |
| commit | a465f3d031f06650c140d07eab53478259ce7a85 (patch) | |
| tree | 892f5429f206e27440d600f6bbe8650fbc314725 /test/aaa_profiling | |
| parent | 761c8ff15de16e572a6e1382cae76d734bd411e7 (diff) | |
| download | sqlalchemy-a465f3d031f06650c140d07eab53478259ce7a85.tar.gz | |
use integer division here
Diffstat (limited to 'test/aaa_profiling')
| -rw-r--r-- | test/aaa_profiling/test_memusage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 2996ef696..1b9887333 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -47,7 +47,7 @@ def profile_memory(maxtimes=50): samples = [] success = False - for y in range(maxtimes / 5): + for y in range(maxtimes // 5): for x in range(5): func(*args) gc_collect() |
