Skip to content

Commit ffbcece

Browse files
committed
Hack to let us keep merging stuff while gh-66 is being resolved
1 parent 91346e6 commit ffbcece

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pytest_trio/_tests/conftest.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
# Temporary hack while waiting for an answer here:
2+
# https://github.com/pytest-dev/pytest/issues/4039
3+
import pytest
4+
import warnings
5+
warnings.filterwarnings(
6+
"default", category=pytest.RemovedInPytest4Warning,
7+
message=".*non-top-level conftest.*",
8+
)
9+
110
pytest_plugins = ["pytester"]

0 commit comments

Comments
 (0)