8000 GH-123945: Update regex for parsing negative numbers that contain underscores by savannahostrowski · Pull Request #123970 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-123945: Update regex for parsing negative numbers that contain underscores #123970

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 14 commits into from
Sep 17, 2024
Merged
Prev Previous commit
Next Next commit
remove comment
  • Loading branch information
savannahostrowski committed Sep 15, 2024
commit 926ecfa8ed927704c4e0fea32e83acd8c81a1ec9
1 change: 0 additions & 1 deletion Lib/test/test_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -5731,7 +5731,6 @@ def test_negative_number_success(self):
self.assertEqual(NS(int=-1000000, float=-1000000.0), args)

def test_negative_float_failure(self):
# Intermixed and remainder are incompatible
parser = ErrorRaisingArgumentParser(prog='PROG')
parser.add_argument('--float', type=float)

Expand Down
Loading
0