summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2012-06-04 16:01:56 (GMT)
committerBarry Warsaw <barry@python.org>2012-06-04 16:01:56 (GMT)
commit028b37c941683c46cdc52e85ea26bb66b5b85c08 (patch)
tree689756d99f83e8897dec0e0de2b22a6f30e5e73c /Lib/test
parent9b10e1fbb9d730c310077c9778cc2e4896bc2143 (diff)
downloadcpython-028b37c941683c46cdc52e85ea26bb66b5b85c08.zip
cpython-028b37c941683c46cdc52e85ea26bb66b5b85c08.tar.gz
cpython-028b37c941683c46cdc52e85ea26bb66b5b85c08.tar.bz2
PEP 421 requires that .name be lower case.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sys.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index a9c3616..e06cd61 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -599,6 +599,10 @@ class SysModuleTest(unittest.TestCase):
version.serial << 0)
self.assertEqual(sys.implementation.hexversion, hexversion)
+ # PEP 421 requires that .name be lower case.
+ self.assertEqual(sys.implementation.name,
+ sys.implementation.name.lower())
+
class SizeofTest(unittest.TestCase):