8000 gh-102491: Remove IronPython version check in sys_version by eendebakpt · Pull Request #102492 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102491: Remove IronPython version check in sys_version #102492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
Prev Previous commit
Next Next commit
increase coverage of _sys.version test
  • Loading branch information
eendebakpt committed Mar 7, 2023
commit 0b51602abe5deb632f1fce19b87f4d291ed4dece
3 changes: 3 additions & 0 deletions Lib/test/test_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ def test_sys_version(self):
self.assertEqual(platform.python_build(), info[4])
self.assertEqual(platform.python_compiler(), info[5])

with self.assertRaises(ValueError):
platform._sys_version('2. 4.3 (truncation) \n[GCC]')

def test_system_alias(self):
res = platform.system_alias(
platform.system(),
Expand Down
0