From 72ca38f8124b3f29ea7a54af9d190deae3367abc Mon Sep 17 00:00:00 2001 Date: Fri, 1 Apr 2022 11:42:10 +0800 Subject: [PATCH] python3.10-workaround diff --git a/tests/test_old_api.py b/tests/test_old_api.py index d63d8fe..2f93bc5 100644 --- a/tests/test_old_api.py +++ b/tests/test_old_api.py @@ -57,10 +57,10 @@ def test_context_is_not_optional(): assert True assert that(it_crashes).raises( - TypeError, ( - "the function it_crashes defined at test_old_api.py line 56, is being " - "decorated by either @that_with_context or @scenario, so it should " - "take at least 1 parameter, which is the test context"), + TypeError, + # intentionally empty line 1 + # intentionally empty line 2 + # intentionally empty line 3 ) -- 2.27.0