@@ -185,11 +185,21 @@ def normcase(path):
185185 raise NotImplementedError
186186 ##########
187187 def _fix_fileid (* args ):
188- return fix_fileid (* args , ** dict (_normcase = normcase , _pathsep = pathsep ,))
188+ return fix_fileid (
189+ * args ,
190+ ** dict (
191+ _normcase = normcase ,
192+ _pathsep = pathsep ,
193+ )
194+ )
189195
190196 def _normalize_test_id (* args ):
191197 return pytest_item ._normalize_test_id (
192- * args , ** dict (_fix_fileid = _fix_fileid , _pathsep = pathsep ,)
198+ * args ,
199+ ** dict (
200+ _fix_fileid = _fix_fileid ,
201+ _pathsep = pathsep ,
202+ )
193203 )
194204
195205 def _iter_nodes (* args ):
@@ -203,20 +213,39 @@ def _iter_nodes(*args):
203213 )
204214
205215 def _parse_node_id (* args ):
206- return pytest_item ._parse_node_id (* args , ** dict (_iter_nodes = _iter_nodes ,))
216+ return pytest_item ._parse_node_id (
217+ * args ,
218+ ** dict (
219+ _iter_nodes = _iter_nodes ,
220+ )
221+ )
207222
208223 ##########
209224 def _split_fspath (* args ):
210- return pytest_item ._split_fspath (* args , ** dict (_normcase = normcase ,))
225+ return pytest_item ._split_fspath (
226+ * args ,
227+ ** dict (
228+ _normcase = normcase ,
229+ )
230+ )
211231
212232 ##########
213233 def _matches_relfile (* args ):
214234 return pytest_item ._matches_relfile (
215- * args , ** dict (_normcase = normcase , _pathsep = pathsep ,)
235+ * args ,
236+ ** dict (
237+ _normcase = normcase ,
238+ _pathsep = pathsep ,
239+ )
216240 )
217241
218242 def _is_legacy_wrapper (* args ):
219- return pytest_item ._is_legacy_wrapper (* args , ** dict (_pathsep = pathsep ,))
243+ return pytest_item ._is_legacy_wrapper (
244+ * args ,
245+ ** dict (
246+ _pathsep = pathsep ,
247+ )
248+ )
220249
221250 def _get_location (* args ):
222251 return pytest_item ._get_location (
@@ -286,7 +315,9 @@ def test_failure(self):
286315
287316 self .assertEqual (
288317 stub .calls ,
289- [("pytest.main" , None , {"args" : self .DEFAULT_ARGS , "plugins" : [plugin ]}),],
318+ [
319+ ("pytest.main" , None , {"args" : self .DEFAULT_ARGS , "plugins" : [plugin ]}),
320+ ],
290321 )
291322
292323 def test_no_tests_found (self ):
@@ -778,7 +809,9 @@ def test_doctest(self):
778809 id = "./x/y/z/test_eggs.py::test_eggs" ,
779810 name = "test_eggs" ,
780811 path = TestPath (
781- root = testroot , relfile = fix_relpath (relfile ), func = None ,
812+ root = testroot ,
813+ relfile = fix_relpath (relfile ),
814+ func = None ,
782815 ),
783816 source = "{}:{}" .format (fix_relpath (relfile ), 1 ),
784817 markers = [],
@@ -801,7 +834,9 @@ def test_doctest(self):
801834 id = "./x/y/z/test_eggs.py::test_eggs.TestSpam" ,
802835 name = "test_eggs.TestSpam" ,
803836 path = TestPath (
804- root = testroot , relfile = fix_relpath (relfile ), func = None ,
837+ root = testroot ,
838+ relfile = fix_relpath (relfile ),
839+ func = None ,
805840 ),
806841 source = "{}:{}" .format (fix_relpath (relfile ), 13 ),
807842 markers = [],
@@ -824,7 +859,9 @@ def test_doctest(self):
824859 id = "./x/y/z/test_eggs.py::test_eggs.TestSpam.TestEggs" ,
825860 name = "test_eggs.TestSpam.TestEggs" ,
826861 path = TestPath (
827- root = testroot , relfile = fix_relpath (relfile ), func = None ,
862+ root = testroot ,
863+ relfile = fix_relpath (relfile ),
864+ func = None ,
828865 ),
829866 source = "{}:{}" .format (fix_relpath (relfile ), 28 ),
830867 markers = [],
0 commit comments