]> granicus.if.org Git - python/commitdiff
Issue #19751: Fix typo in configuration option
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 12 Dec 2013 22:06:07 +0000 (23:06 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 12 Dec 2013 22:06:07 +0000 (23:06 +0100)
Lib/test/test_sys.py

index f0c71483ed7a81350ecdfd4d29e43dca01dee648..2c3fdfb5c1769aa0c0adc4643b59ba2137fe86ea 100644 (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})