Remove py version printing, traceback filtering, freezing

Not so important anymore, and makes it easier to remove the py
dependency.
This commit is contained in:
Ran Benita
2021-10-16 01:57:12 +03:00
parent bc2f20722c
commit a3b69d9d83
8 changed files with 13 additions and 49 deletions

View File

@@ -1240,7 +1240,6 @@ _PLUGGY_DIR = Path(pluggy.__file__.rstrip("oc"))
if _PLUGGY_DIR.name == "__init__.py":
_PLUGGY_DIR = _PLUGGY_DIR.parent
_PYTEST_DIR = Path(_pytest.__file__).parent
_PY_DIR = Path(__import__("py").__file__).parent
def filter_traceback(entry: TracebackEntry) -> bool:
@@ -1268,7 +1267,5 @@ def filter_traceback(entry: TracebackEntry) -> bool:
return False
if _PYTEST_DIR in parents:
return False
if _PY_DIR in parents:
return False
return True