void-packages/srcpkgs/python3-QtPy/patches/fix-test.patch

12 lines
420 B
Diff

--- a/qtpy/tests/test_main.py 2023-08-29 13:07:50.000000000 -0300
+++ b/qtpy/tests/test_main.py 2023-09-29 22:04:52.945280612 -0300
@@ -115,7 +115,7 @@
pytest.importorskip(mod, reason=f"Requires {api}")
# clean env
env = os.environ.copy()
- for key in ("QT_API", "USE_QT_API"):
+ for key in ("QT_API", "USE_QT_API", "FORCE_QT_API"):
if key in env:
del env[key]
cmd = f"""