8000 Improve int test coverage by hauntsaninja · Pull Request #104024 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Improve int test coverage #104024

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 3 commits into from
May 1, 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
Diff view
Diff view
Prev Previous commit
Next Next commit
rename the method to test_invalid_signs
  • Loading branch information
gpshead authored Apr 30, 2023
commit 59e4ff1d87a1598ddfe4d5f4a5ab875814745df9
2 changes: 1 addition & 1 deletion Lib/test/test_int.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def test_basic(self):
self.assertEqual(int('2br45qc', 35), 4294967297)
self.assertEqual(int('1z141z5', 36), 4294967297)

def test_sign(self):
def test_invalid_signs(self):
with self.assertRaises(ValueError):
int('+')
with self.assertRaises(ValueError):
Expand Down
0