(self)
| 765 | # Tested below |
| 766 | |
| 767 | def test_expr_stmt(self): |
| 768 | # (exprlist '=')* exprlist |
| 769 | 1 |
| 770 | 1, 2, 3 |
| 771 | x = 1 |
| 772 | x = 1, 2, 3 |
| 773 | x = y = z = 1, 2, 3 |
| 774 | x, y, z = 1, 2, 3 |
| 775 | abc = a, b, c = x, y, z = xyz = 1, 2, (3, 4) |
| 776 | |
| 777 | check_syntax_error(self, "x + 1 = 1") |
| 778 | check_syntax_error(self, "a + 1 = b + 2") |
| 779 | |
| 780 | # Check the heuristic for print & exec covers significant cases |
| 781 | # As well as placing some limits on false positives |
nothing calls this directly
no test coverage detected