diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-12-31 11:23:01 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-12-31 11:58:08 -0500 |
commit | 957e6a6f17a9eb8eea51be972052fcd98ff7a2fd (patch) | |
tree | 459f7bfcef66c16640b4f434910894bb84b77c58 /tests/conftest.py | |
parent | 14b76135d39bbb11e42a49565396b13d020dd87a (diff) | |
download | python-coveragepy-git-957e6a6f17a9eb8eea51be972052fcd98ff7a2fd.tar.gz |
Adjust other env.PYPY tests to the latest way
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 3c6672dc..82a6b0f2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -40,7 +40,7 @@ def set_warnings(): category=DeprecationWarning, message=".* instead of inspect.getfullargspec", ) - if env.PYPY and env.PY3: + if env.PYPY3: # pypy3 warns about unclosed files a lot. warnings.filterwarnings("ignore", r".*unclosed file", category=ResourceWarning) |