cpython: 7c116d7c6c65 (original) (raw)
Mercurial > cpython
changeset 87914:7c116d7c6c65
Issue #19751: Fix typo in configuration option [#19751]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Thu, 12 Dec 2013 23:06:07 +0100 |
parents | 0cb4ff55f850 |
children | c1a7ba57b4ff |
files | Lib/test/test_sys.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_sys.py 2 |
line wrap: on
line diff
--- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -447,7 +447,7 @@ class SysModuleTest(unittest.TestCase): self.assertIsInstance(sys.hash_info.inf, int) self.assertIsInstance(sys.hash_info.nan, int) self.assertIsInstance(sys.hash_info.imag, int)
algo = sysconfig.get_config_var("PY_HASH_ALGORITHM")[](#l1.7)
algo = sysconfig.get_config_var("Py_HASH_ALGORITHM")[](#l1.8) if sys.hash_info.algorithm in {"fnv", "siphash24"}:[](#l1.9) self.assertIn(sys.hash_info.hash_bits, {32, 64})[](#l1.10) self.assertIn(sys.hash_info.seed_bits, {32, 64, 128})[](#l1.11)