We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6cc8a1 commit ebce88cCopy full SHA for ebce88c
tests/conftest.py
@@ -21,24 +21,6 @@
21
from testing.util import git_commit
22
23
24
-@pytest.fixture(autouse=True)
25
-def no_warnings(recwarn):
26
- yield
27
- warnings = []
28
- for warning in recwarn: # pragma: no cover
29
- message = str(warning.message)
30
- # ImportWarning: Not importing directory '...' missing __init__(.py)
31
- if not (
32
- isinstance(warning.message, ImportWarning) and
33
- message.startswith('Not importing directory ') and
34
- ' missing __init__' in message
35
- ):
36
- warnings.append(
37
- f'{warning.filename}:{warning.lineno} {message}',
38
- )
39
- assert not warnings
40
-
41
42
@pytest.fixture
43
def tempdir_factory(tmpdir):
44
class TmpdirFactory:
0 commit comments