diff options
Diffstat (limited to 'Lib/test/test_coercion.py')
| -rw-r--r-- | Lib/test/test_coercion.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_coercion.py b/Lib/test/test_coercion.py index 6c0ee7b..4be762e 100644 --- a/Lib/test/test_coercion.py +++ b/Lib/test/test_coercion.py @@ -113,8 +113,5 @@ def do_prefix_binops(): warnings.filterwarnings("ignore", r'complex divmod\(\), // and % are deprecated', DeprecationWarning) -try: - do_infix_binops() - do_prefix_binops() -finally: - warnings.resetwarnings() +do_infix_binops() +do_prefix_binops() |
