Skip to content

Commit e11ca24

Browse files
drop no longer used code
1 parent 52a61f4 commit e11ca24

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/apipkg/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,6 @@ def __dict__(self):
180180
return dict
181181

182182

183-
def _py_test_hack(modpath, attrname, importerror_alternative):
184-
if (
185-
modpath == "pytest"
186-
and attrname is None
187-
and importerror_alternative is ImportError
188-
):
189-
return None
190-
else:
191-
return importerror_alternative
192-
193-
194183
def AliasModule(modname, modpath, attrname=None):
195184
mod = []
196185

0 commit comments

Comments
 (0)