File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 77pytest .register_assert_rewrite ('tests.common' )
88
99
10- @pytest .fixture ()
10+ @pytest .fixture
1111def 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
2020def 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
2929def 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
4545def stringio ():
4646 return StringIO ()
4747
@@ -51,6 +51,6 @@ def isatty(self):
5151 return True
5252
5353
54- @pytest .fixture ()
54+ @pytest .fixture
5555def stringio_tty ():
5656 return _StringIOTTY ()
You can’t perform that action at this time.
0 commit comments