diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_wasyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_wasyncore.py b/tests/test_wasyncore.py index df896db..a7713a8 100644 --- a/tests/test_wasyncore.py +++ b/tests/test_wasyncore.py @@ -732,7 +732,7 @@ class FileWrapperTest(unittest.TestCase): os.close(fd) try: - with check_warnings(("", compat.ResourceWarning)): + with check_warnings(("", ResourceWarning)): f = None gc_collect() except AssertionError: # pragma: no cover |