mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +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)
|
||||
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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue