diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-30 10:30:44 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-30 10:30:44 -0400 |
commit | 6cc7075c3db4ec6070c28b145d72c00e3a8a38df (patch) | |
tree | 911df07b5f706232181195549bac470813e6def4 | |
parent | 3a09d466015fbbd2ca3771cd3d425c3f4a3ebd38 (diff) | |
download | python-coveragepy-git-6cc7075c3db4ec6070c28b145d72c00e3a8a38df.tar.gz |
Quiet a pylint warning
-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) |