summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-01-18 21:12:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-01-18 21:12:42 (GMT)
commit1202a4733e6ffbf3149425aae14f7c4eeeb115c0 (patch)
treed0c2393c496b6df4b26ab1ee8606dcc70b8578f1 /Lib/test/test_sys.py
parenta556af77a7853cf198011eaa5a3258751d72853f (diff)
downloadcpython-1202a4733e6ffbf3149425aae14f7c4eeeb115c0.zip
cpython-1202a4733e6ffbf3149425aae14f7c4eeeb115c0.tar.gz
cpython-1202a4733e6ffbf3149425aae14f7c4eeeb115c0.tar.bz2
Issue 23261: Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index ec2eaf3..2da987f 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -994,7 +994,7 @@ class SizeofTest(unittest.TestCase):
# frozenset
PySet_MINSIZE = 8
samples = [[], range(10), range(50)]
- s = size('3n2P' + PySet_MINSIZE*'nP' + 'nP')
+ s = size('3n2P' + PySet_MINSIZE*'nP' + '2nP')
for sample in samples:
minused = len(sample)
if minused == 0: tmp = 1