mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fixed test_support -> support.
This commit is contained in:
parent
05f3374402
commit
d8aef76f6e
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class SysModuleTest(unittest.TestCase):
|
|||
|
||||
def test_getwindowsversion(self):
|
||||
# Raise SkipTest if sys doesn't have getwindowsversion attribute
|
||||
test.test_support.get_attribute(sys, "getwindowsversion")
|
||||
test.support.get_attribute(sys, "getwindowsversion")
|
||||
v = sys.getwindowsversion()
|
||||
self.assertEqual(len(v), 5)
|
||||
self.assertIsInstance(v[0], int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue