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

@@ -15,9 +15,8 @@ from _pytest.pytester import Pytester
class TestMark:
@pytest.mark.parametrize("attr", ["mark", "param"])
@pytest.mark.parametrize("modulename", ["py.test", "pytest"])
def test_pytest_exists_in_namespace_all(self, attr: str, modulename: str) -> None:
module = sys.modules[modulename]
def test_pytest_exists_in_namespace_all(self, attr: str) -> None:
module = sys.modules["pytest"]
assert attr in module.__all__ # type: ignore
def test_pytest_mark_notcallable(self) -> None: