diff options
author | Georg Brandl <georg@python.org> | 2011-03-06 09:35:42 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-03-06 09:35:42 (GMT) |
commit | 776e5861140957692db39fa63b6c1171ddb8508b (patch) | |
tree | 9dc319114adc9d14cc382292ae9c12cade2cdac4 /Lib/test/test_platform.py | |
parent | fe09a54280a56a01402f4cb98c8c6cb4be89654a (diff) | |
download | cpython-776e5861140957692db39fa63b6c1171ddb8508b.zip cpython-776e5861140957692db39fa63b6c1171ddb8508b.tar.gz cpython-776e5861140957692db39fa63b6c1171ddb8508b.tar.bz2 |
Remove sys.subversion and svn build identification leftovers.
Diffstat (limited to 'Lib/test/test_platform.py')
-rw-r--r-- | Lib/test/test_platform.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py index 9201154..b59f6e6 100644 --- a/Lib/test/test_platform.py +++ b/Lib/test/test_platform.py @@ -56,13 +56,11 @@ class PlatformTest(unittest.TestCase): def setUp(self): self.save_version = sys.version - self.save_subversion = sys.subversion self.save_mercurial = sys._mercurial self.save_platform = sys.platform def tearDown(self): sys.version = self.save_version - sys.subversion = self.save_subversion sys._mercurial = self.save_mercurial sys.platform = self.save_platform @@ -77,7 +75,7 @@ class PlatformTest(unittest.TestCase): ('IronPython', '1.0.0', '', '', '', '', '.NET 2.0.50727.42')), ): # branch and revision are not "parsed", but fetched - # from sys.subversion. Ignore them + # from sys._mercurial. Ignore them (name, version, branch, revision, buildno, builddate, compiler) \ = platform._sys_version(input) self.assertEqual( @@ -113,8 +111,6 @@ class PlatformTest(unittest.TestCase): if subversion is None: if hasattr(sys, "_mercurial"): del sys._mercurial - if hasattr(sys, "subversion"): - del sys.subversion else: sys._mercurial = subversion if sys_platform is not None: |