File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ test = [
5555 ' pytest' ,
5656 ' pytest-cov' ,
5757 ' pytest-ruff' ,
58- ' ruff==0.4.10 ' ,
58+ ' ruff==0.6.3 ' ,
5959]
6060
6161[project .scripts ]
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 ()
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def local_function_cant_be_pickled():
4242 a = [local_function_cant_be_pickled ]
4343 b = []
4444
45- with pytest .raises (Exception , match = "Can't pickle " ):
45+ with pytest .raises (Exception , match = "Can't" ):
4646 Differ ().diff (a , b )
4747
4848
You can’t perform that action at this time.
0 commit comments