VALIDATE : Parenthesis, brackets and curly brackets within strings are counted as "real" ones in test-code
Before executing tests, the JS code checks indentation of python test-code. It counts (
, {
and [
.
It seems that if a Python string contains any of those (or their closing matches )
, }
and ]
), it will be counted and cause issues during execution.
Example : the lines
assert noircir(";-)", "▮") == ";-)"
for _ in range(10):
pass
are readed as a single value JS array :
['assert noircir(";-)", "▮") == ";-)"for _ in range(10): pass']