From 66ea8c85b7b1cf59263273582fe4096fdbb84289 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Thu, 8 Oct 2020 13:15:58 +0200 Subject: [PATCH 1/2] Fix typo in 'unittests/test_modules.py' --- unittests/test_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/test_modules.py b/unittests/test_modules.py index 73af60d4aa..cd0faf7e0e 100644 --- a/unittests/test_modules.py +++ b/unittests/test_modules.py @@ -25,7 +25,7 @@ def modules_system(request, monkeypatch): try: m = modules.ModulesSystem.create(*args) except ConfigError: - pytest.skip('{requst.param} not supported') + pytest.skip('{request.param} not supported') environ_save = env.snapshot() m.searchpath_add(fixtures.TEST_MODULES) From 7dafed100e0e5a0e383549ac692db96703344e0a Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Thu, 8 Oct 2020 13:44:44 +0200 Subject: [PATCH 2/2] Address PR comments --- unittests/test_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/test_modules.py b/unittests/test_modules.py index cd0faf7e0e..6824b955a5 100644 --- a/unittests/test_modules.py +++ b/unittests/test_modules.py @@ -25,7 +25,7 @@ def modules_system(request, monkeypatch): try: m = modules.ModulesSystem.create(*args) except ConfigError: - pytest.skip('{request.param} not supported') + pytest.skip(f'{request.param} not supported') environ_save = env.snapshot() m.searchpath_add(fixtures.TEST_MODULES)