Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add more test cases
  • Loading branch information
pablogsal committed Sep 28, 2018
commit b0fe69e8bcf6f9477fd04d329502b2113533ec7b
8 changes: 8 additions & 0 deletions Lib/test/test_grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,14 @@ def __exit__(self, *args):
pass
with (manager() as x, manager() as y,):
pass
with (manager()):
pass
with (manager() as x):
pass
with (((manager()))):
pass
with ((((manager()))) as x):
pass

def test_if_else_expr(self):
# Test ifelse expressions in various cases
Expand Down