summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-12 22:06:07 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-12-12 22:06:07 (GMT)
commit4b6d4b56d3336c051531fb4716ab23d5721ad1f3 (patch)
treeefc0b0e10c583e02925ac758df2039a1e7d54938 /Lib/test/test_sys.py
parent5bf91dc41770d96812746da18a7e48ed03e67111 (diff)
downloadcpython-4b6d4b56d3336c051531fb4716ab23d5721ad1f3.zip
cpython-4b6d4b56d3336c051531fb4716ab23d5721ad1f3.tar.gz
cpython-4b6d4b56d3336c051531fb4716ab23d5721ad1f3.tar.bz2
Issue #19751: Fix typo in configuration option
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index f0c7148..2c3fdfb 100644
--- 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")
+ 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})