commit | 5ef922447c3dd0f9b306b4fde59481b4d4eaeaa3 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri May 19 06:43:50 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri May 19 06:43:50 2006 +0000 |
tree | 639fe9618a71538e4dfcabc48f8145745e90f9dc | |
parent | 02104df4c8fbb1db098646d33453706d2535b51a [diff] [blame] |
Fix #1474677, non-keyword argument following keyword.
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index 9d3ff02..dc7a16d 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py
@@ -309,6 +309,9 @@ "unindent does not match .* level", subclass=IndentationError) + def test_kwargs_last(self): + self._check_error("int(base=10, '2')", "non-keyword arg") + def test_main(): test_support.run_unittest(SyntaxTestCase) from test import test_syntax