Skip to content

Commit e42ce55

Browse files
committed
tests: automatically unset PKG_CONFIG_PATH before running tests
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 8e7ccde commit e42ce55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def env(tmpdir, self_wheel):
4646
return env
4747

4848

49+
@pytest.fixture(autouse=True)
50+
def unset_pkg_config_path(monkeypatch):
51+
monkeypatch.delenv('PKG_CONFIG_PATH', raising=False)
52+
53+
4954
@pytest.fixture(autouse=True)
5055
def reset_recursive_flag():
5156
yield

0 commit comments

Comments
 (0)