diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-01 18:25:06 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-02 07:38:19 -0400 |
commit | ddf5ba8cfcfe7d133ddbf888cc6e3af79863c712 (patch) | |
tree | 5cd11a9f699ec93711422b00b519d096b1135ff3 /tests/mixins.py | |
parent | 4c4ba2e0bc9ec663fa3772d2b088f736345a65a1 (diff) | |
download | python-coveragepy-git-ddf5ba8cfcfe7d133ddbf888cc6e3af79863c712.tar.gz |
refactor: pyupgrade --py36-plus tests/**.py
Diffstat (limited to 'tests/mixins.py')
-rw-r--r-- | tests/mixins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mixins.py b/tests/mixins.py index 44b16f6c..dd9b4e3e 100644 --- a/tests/mixins.py +++ b/tests/mixins.py @@ -18,7 +18,7 @@ import pytest from tests.helpers import change_dir, make_file, remove_files -class PytestBase(object): +class PytestBase: """A base class to connect to pytest in a test class hierarchy.""" @pytest.fixture(autouse=True) @@ -49,7 +49,7 @@ class PytestBase(object): self._monkeypatch.delenv(name, raising=False) -class TempDirMixin(object): +class TempDirMixin: """Provides temp dir and data file helpers for tests.""" # Our own setting: most of these tests run in their own temp directory. |