Browse Source

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>
Arnout Vandecappelle (Essensium/Mind) 3 years ago
parent
commit
1264dd50ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      support/testing/tests/package/test_octave.py

+ 1 - 1
support/testing/tests/package/test_octave.py

@@ -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)