diff options
Diffstat (limited to 'src/snakeoil/test/fixtures.py')
-rw-r--r-- | src/snakeoil/test/fixtures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snakeoil/test/fixtures.py b/src/snakeoil/test/fixtures.py index 3262e0a..2526b14 100644 --- a/src/snakeoil/test/fixtures.py +++ b/src/snakeoil/test/fixtures.py @@ -5,7 +5,7 @@ import pytest from . import random_str -class TempDir(object): +class TempDir: """Provide temporary directory to every test method.""" @pytest.fixture(autouse=True) @@ -13,7 +13,7 @@ class TempDir(object): self.dir = str(tmpdir) -class RandomPath(object): +class RandomPath: """Provide random path in a temporary directory to every test method.""" @pytest.fixture(autouse=True) |