We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e309e5e commit 02f650aCopy full SHA for 02f650a
1 file changed
Lib/test/test_syntax.py
@@ -3509,12 +3509,20 @@ def test_double_ampersand(self):
3509
self._check_error(
3510
"a && b",
3511
"Maybe you meant 'and' or '&' instead of '&&'",
3512
+ lineno=1,
3513
+ end_lineno=1,
3514
+ offset=3,
3515
+ end_offset=5,
3516
)
3517
3518
def test_double_pipe(self):
3519
3520
"a || b",
3521
"Maybe you meant 'or' or '|' instead of '||'",
3522
3523
3524
3525
3526
3527
3528
0 commit comments