Python 3.6 invalid escape sequence deprecation fixes (#11941)
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
This commit is contained in:
parent
cad0bde95b
commit
b4d682ca75
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class TestAuroraSensorSetUp(unittest.TestCase):
|
|||
def test_setup_and_initial_state(self, mock_req):
|
||||
"""Test that the component is created and initialized as expected."""
|
||||
uri = re.compile(
|
||||
"http://services\.swpc\.noaa\.gov/text/aurora-nowcast-map\.txt"
|
||||
r"http://services\.swpc\.noaa\.gov/text/aurora-nowcast-map\.txt"
|
||||
)
|
||||
mock_req.get(uri, text=load_fixture('aurora.txt'))
|
||||
|
||||
|
@ -66,7 +66,7 @@ class TestAuroraSensorSetUp(unittest.TestCase):
|
|||
def test_custom_threshold_works(self, mock_req):
|
||||
"""Test that the config can take a custom forecast threshold."""
|
||||
uri = re.compile(
|
||||
"http://services\.swpc\.noaa\.gov/text/aurora-nowcast-map\.txt"
|
||||
r"http://services\.swpc\.noaa\.gov/text/aurora-nowcast-map\.txt"
|
||||
)
|
||||
mock_req.get(uri, text=load_fixture('aurora.txt'))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue