Issue #19751: Fix typo in configuration option

This commit is contained in:
Victor Stinner 2013-12-12 23:06:07 +01:00
parent 5bf91dc417
commit 4b6d4b56d3
1 changed files with 1 additions and 1 deletions

View File

@ -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")
algo = sysconfig.get_config_var("Py_HASH_ALGORITHM")
if sys.hash_info.algorithm in {"fnv", "siphash24"}:
self.assertIn(sys.hash_info.hash_bits, {32, 64})
self.assertIn(sys.hash_info.seed_bits, {32, 64, 128})