diff options
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 666dcf76..aeccec88 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -29,4 +29,6 @@ def set_warnings(): message="The value of convert_charrefs will become True in 3.5.", ) if env.PYPY and env.PY3: + # pypy3 warns about unclosed files a lot. + # pylint: disable=undefined-variable warnings.filterwarnings("ignore", r".*unclosed file", category=ResourceWarning) |