It makes more sense to call resetwarnings() after every test runs than
to keep doing that in every test that wants to filter a warning.
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 @@
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()