Files
python-uncompyle6/test/simple_source/bug27+/02_assert.py
2018-03-20 16:14:53 -04:00

10 lines
219 B
Python

# From 2.7 test_argparse.py
# Bug was turnning assert into an "or raise" statement
def __call__(arg, dest):
try:
assert arg == 'spam', 'dest: %s' % dest
except:
raise
__call__('spam', __file__)