From 45ad2280b76700362669c5726fb3c069de3bedc0 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 18 Apr 2024 10:47:35 +0200 Subject: [PATCH] Remove some stray code --- test/framework/easyblock.py | 2 +- test/framework/options.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/framework/easyblock.py b/test/framework/easyblock.py index e6b54e0bc8..8ea7bf43fe 100644 --- a/test/framework/easyblock.py +++ b/test/framework/easyblock.py @@ -1685,7 +1685,7 @@ def test_fetch_patches(self): self.assertEqual(eb.patches[1]['level'], 4) self.assertEqual(eb.patches[2]['name'], toy_patch) self.assertEqual(eb.patches[2]['sourcepath'], 'foobar') - self.assertEqual(eb.patches[3]['name'], 'toy-0.0.tar.gz'), + self.assertEqual(eb.patches[3]['name'], 'toy-0.0.tar.gz') self.assertEqual(eb.patches[3]['copy'], 'some/path') self.assertEqual(eb.patches[4]['name'], toy_patch) self.assertEqual(eb.patches[4]['level'], 0) diff --git a/test/framework/options.py b/test/framework/options.py index 29b3b3a4d6..3deaf8cf9c 100644 --- a/test/framework/options.py +++ b/test/framework/options.py @@ -4522,7 +4522,7 @@ def test_github_new_update_pr(self): res = [d for d in res if os.path.basename(d) != os.path.basename(git_working_dir)] if len(res) == 1: unstaged_file_full = os.path.join(res[0], unstaged_file) - self.assertNotExists(unstaged_file_full), "%s not found in %s" % (unstaged_file, res[0]) + self.assertNotExists(unstaged_file_full) else: self.fail("Found copy of easybuild-easyconfigs working copy")