support/testing/tests/package/test_octave.py: fix flake8 error

Fixes:
support/testing/tests/package/test_octave.py:46:31: W605 invalid escape sequence '\ '

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2022-05-04 22:01:44 +02:00
parent d4723bb9bd
commit 1264dd50ef

View File

@ -43,7 +43,7 @@ class TestOctave(infra.basetest.BRTest):
# Solve equation system example from Octave homepage
octave_expr = "b = [4; 9; 2]; "
octave_expr += "A = [ 3 4 5; 1 3 1; 3 5 9 ]; "
octave_expr += "x = A \ b; "
octave_expr += "x = A \\ b; "
octave_expr += "assert(x, [-1.5; 4; -1.5], 1e-10)"
cmd = self.octave_cmd(octave_expr)
self.assertRunOk(cmd)