diff --git a/snapshot_manager/tests/testing_farm_util_test.py b/snapshot_manager/tests/testing_farm_util_test.py index 3d294390..c9067608 100644 --- a/snapshot_manager/tests/testing_farm_util_test.py +++ b/snapshot_manager/tests/testing_farm_util_test.py @@ -19,15 +19,13 @@ def test_make_with_missing_compose(self): strategy="big-merge", github_repo="fedora-llvm-team/llvm-snapshots" ) - self.assertRaises( - SystemError, + with self.assertRaises(SystemError): tf.TestingFarmRequest.make( chroot="fedora-900-x86_64", config=self.config, issue=issue, copr_build_ids=[1, 2, 3], - ), - ) + ) def test_fetch_failed_test_cases_from_file(self): request_id = "1f25b0df-71f1-4a13-a4b8-c066f6f5f116"