[Python-checkins] cpython: Issue #19751: Fix typo in configuration option

victor.stinner python-checkins at python.org
Thu Dec 12 23:13:26 CET 2013


http://hg.python.org/cpython/rev/7c116d7c6c65
changeset:   87914:7c116d7c6c65
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Dec 12 23:06:07 2013 +0100
summary:
  Issue #19751: Fix typo in configuration option

files:
  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
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -447,7 +447,7 @@
         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})

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list