File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -456,10 +456,7 @@ def _check_initialpaths_for_relpath(session, fspath):
456
456
457
457
458
458
class FSHookProxy :
459
- def __init__ (
460
- self , fspath : py .path .local , pm : PytestPluginManager , remove_mods
461
- ) -> None :
462
- self .fspath = fspath
459
+ def __init__ (self , pm : PytestPluginManager , remove_mods ) -> None :
463
460
self .pm = pm
464
461
self .remove_mods = remove_mods
465
462
@@ -510,7 +507,7 @@ def _gethookproxy(self, fspath: py.path.local):
510
507
remove_mods = pm ._conftest_plugins .difference (my_conftestmodules )
511
508
if remove_mods :
512
509
# one or more conftests are not in use at this fspath
513
- proxy = FSHookProxy (fspath , pm , remove_mods )
510
+ proxy = FSHookProxy (pm , remove_mods )
514
511
else :
515
512
# all plugins are active for this fspath
516
513
proxy = self .config .hook
You can’t perform that action at this time.
0 commit comments