From a03cb9790ee2ca2797d2e0be9a3c08f46ea6b9b6 Mon Sep 17 00:00:00 2001 From: Carl Simon Adorf Date: Thu, 20 Aug 2020 18:21:06 +0200 Subject: [PATCH] Fix Python 3.5 incompatibility. --- tests/test_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_project.py b/tests/test_project.py index 97ce072bf..d23ebdf56 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -54,7 +54,7 @@ def jobs(cls): for job in cls._jobs.values(): for char in cls._invalid_chars: if char in job._id(): - raise RuntimeError(f"Invalid character in job id: {char}") + raise RuntimeError("Invalid character in job id: " + char) yield job @classmethod