Skip to content

Commit

Permalink
strip trailing '#hash'
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin committed Aug 24, 2023
1 parent c782681 commit 772ec04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/libe57format/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def build(self):

def test(self):
if can_run(self):
tested_version = self.tested_reference_str.split('/')[1].split('@')[0]
tested_version = self.tested_reference_str.split('/')[1].split('@')[0].split('#')[0]
print('package version: ' + tested_version)
if Version(tested_version) >= Version("3.0.0"):
print(f'Skipping tests in version {tested_version}')
Expand Down

0 comments on commit 772ec04

Please sign in to comment.