Skip to content

Commit

Permalink
dissallow deprecated behvaiour
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj committed Dec 30, 2024
1 parent 7464142 commit 550df4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1721,6 +1721,9 @@ def test_fetch_sources_git(self):
with self.mocked_stdout_stderr():
eb.fetch_sources(sources, checksums=checksums)

if sys.version_info[0] >= 3 and sys.version_info[1] < 9:
self.disallow_deprecated_behaviour()

self.assertEqual(len(eb.src), 1)
self.assertEqual(eb.src[0]['name'], "testrepository.tar.xz")
self.assertExists(eb.src[0]['path'])
Expand Down

0 comments on commit 550df4d

Please sign in to comment.