mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
PEP 421 requires that .name be lower case.
This commit is contained in:
parent
9b10e1fbb9
commit
028b37c941
1 changed files with 4 additions and 0 deletions
|
@ -599,6 +599,10 @@ class SysModuleTest(unittest.TestCase):
|
||||||
version.serial << 0)
|
version.serial << 0)
|
||||||
self.assertEqual(sys.implementation.hexversion, hexversion)
|
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):
|
class SizeofTest(unittest.TestCase):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue