Skip to content

Commit 04bca8f

Browse files
committed
take into account slightly different error with Python 2.6 in test_easystack_wrong_structure
1 parent ae372e0 commit 04bca8f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/framework/options.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5642,8 +5642,9 @@ def test_easystack_wrong_structure(self):
56425642
toy_easystack = os.path.join(topdir, 'easystacks', 'test_easystack_wrong_structure.yaml')
56435643

56445644
expected_err = r"[\S\s]*An error occurred when interpreting the data for software Bioconductor:"
5645-
expected_err += r" 'float' object is not subscriptable[\S\s]*"
5646-
expected_err += r"| 'float' object has no attribute '__getitem__'[\S\s]*"
5645+
expected_err += r"( 'float' object is not subscriptable[\S\s]*"
5646+
expected_err += r"| 'float' object is unsubscriptable"
5647+
expected_err += r"| 'float' object has no attribute '__getitem__'[\S\s]*)"
56475648
self.assertErrorRegex(EasyBuildError, expected_err, parse_easystack, toy_easystack)
56485649

56495650
def test_easystack_asterisk(self):

0 commit comments

Comments
 (0)