(self)
| 738 | # Tested below |
| 739 | |
| 740 | def test_expr_stmt(self): |
| 741 | # (exprlist '=')* exprlist |
| 742 | 1 |
| 743 | 1, 2, 3 |
| 744 | x = 1 |
| 745 | x = 1, 2, 3 |
| 746 | x = y = z = 1, 2, 3 |
| 747 | x, y, z = 1, 2, 3 |
| 748 | abc = a, b, c = x, y, z = xyz = 1, 2, (3, 4) |
| 749 | |
| 750 | check_syntax_error(self, "x + 1 = 1") |
| 751 | check_syntax_error(self, "a + 1 = b + 2") |
| 752 | |
| 753 | # Check the heuristic for print & exec covers significant cases |
| 754 | # As well as placing some limits on false positives |
nothing calls this directly
no test coverage detected