Fixed test_support -> support.

This commit is contained in:
Eric Smith 2010-01-27 01:38:34 +00:00
parent 05f3374402
commit d8aef76f6e
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class SysModuleTest(unittest.TestCase):
def test_getwindowsversion(self): def test_getwindowsversion(self):
# Raise SkipTest if sys doesn't have getwindowsversion attribute # 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() v = sys.getwindowsversion()
self.assertEqual(len(v), 5) self.assertEqual(len(v), 5)
self.assertIsInstance(v[0], int) self.assertIsInstance(v[0], int)