diff options
Diffstat (limited to 'sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py')
-rw-r--r-- | sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py b/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py index 26b9d8467..3a54e2b88 100644 --- a/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py +++ b/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py @@ -26,6 +26,10 @@ class ConfigFile: class TestPySide6Deploy(unittest.TestCase): @classmethod def setUpClass(cls): + # PYSIDE-2230: A temporary patch that avoids the pyenv error. + # The final solution is too much for this quick fix. + if os.environ.get("PYENV_ROOT"): + del os.environ["PYENV_ROOT"] cls.pyside_root = Path(__file__).parents[5].resolve() example_root = cls.pyside_root / "examples" example_widgets = example_root / "widgets" / "widgets" / "tetrix" |