Skip to content

Commit

Permalink
Updated test_vendoring() to include PySide6 in QT_PREFERRED_BINDING_J…
Browse files Browse the repository at this point in the history
…SON testing
  • Loading branch information
zoshua committed Apr 6, 2024
1 parent d65eaf9 commit fed4836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ def test_vendoring():
env = os.environ.copy()
env["QT_PREFERRED_BINDING_JSON"] = json.dumps(
{
"Qt": ["PyQt5", "PyQt4"],
"Qt": ["PySide6", "PyQt5", "PyQt4"],
"default": ["None"]
}
)
Expand All @@ -828,7 +828,7 @@ def test_vendoring():
) == 0

print("Testing QT_PREFERRED_BINDING_JSON and QT_PREFERRED_BINDING work..")
env["QT_PREFERRED_BINDING_JSON"] = '{"Qt":["PyQt5","PyQt4"]}'
env["QT_PREFERRED_BINDING_JSON"] = '{"Qt":["PySide6","PyQt5","PyQt4"]}'
env["QT_PREFERRED_BINDING"] = "None"
assert subprocess.call(
[sys.executable, "-c", cmd],
Expand Down

0 comments on commit fed4836

Please sign in to comment.