From dd08b89c813a1d0f7e3b42c319f93397416aadb0 Mon Sep 17 00:00:00 2001 From: Ivanq Date: Tue, 13 Oct 2020 20:36:39 +0300 Subject: [PATCH] Make tests pass on Python 3.5 --- src/Test/TestDebug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Test/TestDebug.py b/src/Test/TestDebug.py index f65c13d9..f7708c78 100644 --- a/src/Test/TestDebug.py +++ b/src/Test/TestDebug.py @@ -46,7 +46,7 @@ class TestDebug: try: os.path.abspath(1) except: - assert Debug.formatException().startswith("TypeError: expected str, bytes or os.PathLike object, not int in TestDebug.py line 47 > line ") + assert "in TestDebug.py line 47 > line " in Debug.formatException() def testFormatStack(self):