Skip to content

Commit 34a7ef1

Browse files
committed
update tests
1 parent 65cf172 commit 34a7ef1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/test_syntax.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3508,7 +3508,7 @@ def test_ifexp_body_stmt_else_stmt(self):
35083508
def test_triple_equal(self):
35093509
self._check_error(
35103510
"a === b",
3511-
"Maybe you meant '==' instead of '==='",
3511+
"Maybe you meant '==' instead of '==='?",
35123512
lineno=1,
35133513
end_lineno=1,
35143514
offset=3,
@@ -3518,7 +3518,7 @@ def test_triple_equal(self):
35183518
def test_eq_lt_typo(self):
35193519
self._check_error(
35203520
"a =< b",
3521-
"Maybe you meant '<=' instead of '=<'",
3521+
"Maybe you meant '<=' instead of '=<'?",
35223522
lineno=1,
35233523
end_lineno=1,
35243524
offset=3,
@@ -3528,7 +3528,7 @@ def test_eq_lt_typo(self):
35283528
def test_eq_gt_typo(self):
35293529
self._check_error(
35303530
"a => b",
3531-
"Maybe you meant '>=' instead of '=>'",
3531+
"Maybe you meant '>=' instead of '=>'?",
35323532
lineno=1,
35333533
end_lineno=1,
35343534
offset=3,
@@ -3538,7 +3538,7 @@ def test_eq_gt_typo(self):
35383538
def test_eq_bang_typo(self):
35393539
self._check_error(
35403540
"a =! b",
3541-
"Maybe you meant '!=' instead of '=!'",
3541+
"Maybe you meant '!=' instead of '=!'?",
35423542
lineno=1,
35433543
end_lineno=1,
35443544
offset=3,

0 commit comments

Comments
 (0)