summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index 22a4907..d5f44b8 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -3352,7 +3352,9 @@ class CompatibilityTests(test_utils.TestCase):
asyncio.run(old_style_coro())
""")
- assert_python_ok("-c", code, PYTHONASYNCIODEBUG="1")
+
+ assert_python_ok("-Wignore::DeprecationWarning", "-c", code,
+ PYTHONASYNCIODEBUG="1")
if __name__ == '__main__':