Skip to content

Commit 261dc6e

Browse files
committed
fix tests
1 parent 574ae23 commit 261dc6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/conftest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
pytest.register_assert_rewrite('tests.common')
88

99

10-
@pytest.fixture()
10+
@pytest.fixture
1111
def content():
1212
def _reader(filename):
1313
with open(filename) as f:
@@ -16,7 +16,7 @@ def _reader(filename):
1616
return _reader
1717

1818

19-
@pytest.fixture()
19+
@pytest.fixture
2020
def expected(request):
2121
filename = os.path.splitext(request.module.__file__)[0]
2222
filename += f'.{request.function.__name__}.exp'
@@ -25,7 +25,7 @@ def expected(request):
2525
return f.read()
2626

2727

28-
@pytest.fixture()
28+
@pytest.fixture
2929
def rpath(request):
3030
def _path_resolver(filename):
3131
path = os.path.join(
@@ -41,7 +41,7 @@ def _path_resolver(filename):
4141
return _path_resolver
4242

4343

44-
@pytest.fixture()
44+
@pytest.fixture
4545
def stringio():
4646
return StringIO()
4747

@@ -51,6 +51,6 @@ def isatty(self):
5151
return True
5252

5353

54-
@pytest.fixture()
54+
@pytest.fixture
5555
def stringio_tty():
5656
return _StringIOTTY()

0 commit comments

Comments
 (0)