diff options
Diffstat (limited to 'Lib/test/test_platform.py')
-rw-r--r-- | Lib/test/test_platform.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py index ea6752b..2cf4d3f 100644 --- a/Lib/test/test_platform.py +++ b/Lib/test/test_platform.py @@ -145,14 +145,14 @@ class PlatformTest(unittest.TestCase): ("PyPy", "2.5.2", "trunk", "63378", ('63378', 'Mar 26 2009'), "") } - for (version_tag, subversion, sys_platform), info in \ + for (version_tag, scm, sys_platform), info in \ sys_versions.items(): sys.version = version_tag - if subversion is None: + if scm is None: if hasattr(sys, "_git"): del sys._git else: - sys._git = subversion + sys._git = scm if sys_platform is not None: sys.platform = sys_platform self.assertEqual(platform.python_implementation(), info[0]) |