mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-32159: Remove tools for CVS and Subversion (#4615)
CPython migrated from CVS to Subversion, to Mercurial, and then to Git. CVS and Subversion are not more used to develop CPython. * platform module: drop support for sys.subversion. The sys.subversion attribute has been removed in Python 3.3. * Remove Misc/svnmap.txt * Remove Tools/scripts/svneol.py * Remove Tools/scripts/treesync.py
This commit is contained in:
parent
a4a3020abc
commit
fe2d5babba
8 changed files with 8 additions and 72881 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue