Skip to content

Commit

Permalink
removing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMeisrimelModelon committed Feb 12, 2024
1 parent 88181c1 commit 4db03d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/solvers/test_euler.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import numpy as np
import scipy.sparse as sps

float_regex = "\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"
float_regex = r"\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"

class Extended_Problem(Explicit_Problem):

Expand Down
2 changes: 1 addition & 1 deletion tests/solvers/test_odepack.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import numpy as np
import scipy.sparse as sps

float_regex = "\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"
float_regex = r"\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"

class Extended_Problem(Explicit_Problem):

Expand Down
2 changes: 1 addition & 1 deletion tests/solvers/test_radau5.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import numpy as np

import re
float_regex = "\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"
float_regex = r"\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"

class KeyboardInterruptAux:
"""Auxiliary class for creating problems (both explicit and implicit)
Expand Down
2 changes: 1 addition & 1 deletion tests/solvers/test_rosenbrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import numpy as np
import scipy.sparse as sps

float_regex = "\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"
float_regex = r"\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"

class Test_RodasODE:
@classmethod
Expand Down
2 changes: 1 addition & 1 deletion tests/solvers/test_rungekutta.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from assimulo.exception import Explicit_ODE_Exception, TimeLimitExceeded
import numpy as np

float_regex = "\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"
float_regex = r"\s*[+-]?\d*.\d*((e|E)[+-]?\d*)?"

class Test_Dopri5:

Expand Down

0 comments on commit 4db03d4

Please sign in to comment.