diff options
author | Barry Warsaw <barry@python.org> | 2012-06-04 16:01:56 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2012-06-04 16:01:56 (GMT) |
commit | 028b37c941683c46cdc52e85ea26bb66b5b85c08 (patch) | |
tree | 689756d99f83e8897dec0e0de2b22a6f30e5e73c | |
parent | 9b10e1fbb9d730c310077c9778cc2e4896bc2143 (diff) | |
download | cpython-028b37c941683c46cdc52e85ea26bb66b5b85c08.zip cpython-028b37c941683c46cdc52e85ea26bb66b5b85c08.tar.gz cpython-028b37c941683c46cdc52e85ea26bb66b5b85c08.tar.bz2 |
PEP 421 requires that .name be lower case.
-rw-r--r-- | Lib/test/test_sys.py | 4 |
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): |