Fix test_install that fails on Python<3.11.4

The tarfile test does not permit the new warning, "Extracting may be
unsafe; consider updating Python to 3.11.4 or greater". This change
should allow the test to succeed when running on 3.11.4 and below.
This commit is contained in:
Dave Dalcino
2023-08-28 05:44:03 -07:00
parent ea12c61aa1
commit 772edb83bf

View File

@@ -486,6 +486,7 @@ def tool_archive(host: str, tool_name: str, variant: str, date: datetime = datet
r"and marked for removal in a future version of aqt\.\n"
r"In the future, please omit this parameter\.\n"
r"INFO : Downloading qtbase\.\.\.\n"
r"([^\n]*Extracting may be unsafe; consider updating Python to 3.11.4 or greater\n)?"
r"Finished installation of qtbase-everywhere-src-6\.5\.0\.tar\.xz in .*\n"
r"INFO : Finished installation\n"
r"INFO : Time elapsed: .* second"