From cc8018744d2b718c6868fc516ccd0c5fbe48c5e8 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 18 Nov 2021 11:33:36 -0800 Subject: [PATCH] tests: replace python2 framework with metal The bundled python is deprecated, metal is unlikely to be deprecated any time soon, so let's use that. --- unittests/failuretests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/failuretests.py b/unittests/failuretests.py index b5ecf3776..498b44841 100644 --- a/unittests/failuretests.py +++ b/unittests/failuretests.py @@ -169,12 +169,12 @@ class FailureTests(BasePlatformTests): "requires at least one module") def test_extraframework_dependency_method(self): - code = "dependency('python', method : 'extraframework')" + code = "dependency('metal', method : 'extraframework')" if not is_osx(): self.assertMesonRaises(code, self.dnf) else: - # Python2 framework is always available on macOS - self.assertMesonOutputs(code, '[Dd]ependency.*python.*found.*YES') + # metal framework is always available on macOS + self.assertMesonOutputs(code, '[Dd]ependency.*metal.*found.*YES') def test_sdl2_notfound_dependency(self): # Want to test failure, so skip if available