diff options
author | Raymond Hettinger <python@rcn.com> | 2015-01-26 00:12:49 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-01-26 00:12:49 (GMT) |
commit | 93035c44fd49359e47947fa23aded502d3a4155e (patch) | |
tree | 0379a5afd7ba7ca33e719632261bf05dfd5b385f /Lib/test/test_sys.py | |
parent | bbd3aa8ece3ed4caf98158086c4599248eb9cddf (diff) | |
download | cpython-93035c44fd49359e47947fa23aded502d3a4155e.zip cpython-93035c44fd49359e47947fa23aded502d3a4155e.tar.gz cpython-93035c44fd49359e47947fa23aded502d3a4155e.tar.bz2 |
Issue #23119: Simplify setobject by inlining the special case for unicode equality testing.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 2da987f..bd2d204 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' + '2nP') + s = size('3nP' + PySet_MINSIZE*'nP' + '2nP') for sample in samples: minused = len(sample) if minused == 0: tmp = 1 |