From 772edb83bffc63ea909c4d2ffbea33738b4c1257 Mon Sep 17 00:00:00 2001 From: Dave Dalcino Date: Mon, 28 Aug 2023 05:44:03 -0700 Subject: [PATCH] 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. --- tests/test_install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_install.py b/tests/test_install.py index 60860af0..507d498d 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -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"