mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#8964: fix platform._sys_version to handle IronPython 2.6+.
This commit is contained in:
parent
c318442571
commit
f076f53386
4 changed files with 33 additions and 3 deletions
|
@ -91,15 +91,28 @@ class PlatformTest(unittest.TestCase):
|
|||
("CPython", "2.6.1", "tags/r261", "67515",
|
||||
('r261:67515', 'Dec 6 2008 15:26:00'),
|
||||
'GCC 4.0.1 (Apple Computer, Inc. build 5370)'),
|
||||
|
||||
("IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.3053", None, "cli")
|
||||
:
|
||||
("IronPython", "2.0.0", "", "", ("", ""),
|
||||
".NET 2.0.50727.3053"),
|
||||
|
||||
("2.6.1 (IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.1433)", None, "cli")
|
||||
:
|
||||
("IronPython", "2.6.1", "", "", ("", ""),
|
||||
".NET 2.0.50727.1433"),
|
||||
|
||||
("2.7.4 (IronPython 2.7.4 (2.7.0.40) on Mono 4.0.30319.1 (32-bit))", None, "cli")
|
||||
:
|
||||
("IronPython", "2.7.4", "", "", ("", ""),
|
||||
"Mono 4.0.30319.1 (32-bit)"),
|
||||
|
||||
("2.5 (trunk:6107, Mar 26 2009, 13:02:18) \n[Java HotSpot(TM) Client VM (\"Apple Computer, Inc.\")]",
|
||||
('Jython', 'trunk', '6107'), "java1.5.0_16")
|
||||
:
|
||||
("Jython", "2.5.0", "trunk", "6107",
|
||||
('trunk:6107', 'Mar 26 2009'), "java1.5.0_16"),
|
||||
|
||||
("2.5.2 (63378, Mar 26 2009, 18:03:29)\n[PyPy 1.0.0]",
|
||||
('PyPy', 'trunk', '63378'), self.save_platform)
|
||||
:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue