summaryrefslogtreecommitdiff
path: root/tests/migrations
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-16 12:15:00 -0400
committerTim Graham <timograham@gmail.com>2016-09-17 15:44:06 -0400
commit8119b679eb85cdc0ae3d321e54d06dd0200a1e82 (patch)
treeb4f4e40a371569a260a39ca310e8e984d8582d74 /tests/migrations
parent17677d510f65012531a5af57fd056fb15cfe1067 (diff)
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
Diffstat (limited to 'tests/migrations')
-rw-r--r--tests/migrations/test_executor.py4
-rw-r--r--tests/migrations/test_graph.py2
-rw-r--r--tests/migrations/test_loader.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py
index 847b11c088..93651d74bc 100644
--- a/tests/migrations/test_executor.py
+++ b/tests/migrations/test_executor.py
@@ -686,7 +686,7 @@ class ExecutorUnitTests(TestCase):
self.assertEqual(plan, [(a2_impl, True)])
def test_minimize_rollbacks_branchy(self):
- """
+ r"""
Minimize rollbacks when target has multiple in-app children.
a: 1 <---- 3 <--\
@@ -731,7 +731,7 @@ class ExecutorUnitTests(TestCase):
self.assertEqual(plan, exp)
def test_backwards_nothing_to_do(self):
- """
+ r"""
If the current state satisfies the given target, do nothing.
a: 1 <--- 2
diff --git a/tests/migrations/test_graph.py b/tests/migrations/test_graph.py
index 472ec5a3ed..ad7e04581c 100644
--- a/tests/migrations/test_graph.py
+++ b/tests/migrations/test_graph.py
@@ -68,7 +68,7 @@ class GraphTests(SimpleTestCase):
)
def test_complex_graph(self):
- """
+ r"""
Tests a complex dependency graph:
app_a: 0001 <-- 0002 <--- 0003 <-- 0004
diff --git a/tests/migrations/test_loader.py b/tests/migrations/test_loader.py
index e8f3b71ee8..b464209a98 100644
--- a/tests/migrations/test_loader.py
+++ b/tests/migrations/test_loader.py
@@ -427,7 +427,7 @@ class LoaderTests(TestCase):
]})
def test_loading_squashed_ref_squashed(self):
"Tests loading a squashed migration with a new migration referencing it"
- """
+ r"""
The sample migrations are structured like this:
app_1 1 --> 2 ---------------------*--> 3 *--> 4