summaryrefslogtreecommitdiff
path: root/tests/apps
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-04-07 22:04:45 -0400
committerTim Graham <timograham@gmail.com>2016-04-08 10:12:33 -0400
commit92053acbb9160862c3e743a99ed8ccff8d4f8fd6 (patch)
tree50e7fd28a650f0e2352cf94f92e5a66d28a81988 /tests/apps
parentdf8d8d4292684d6ffa7474f1e201aed486f02b53 (diff)
downloaddjango-92053acbb9160862c3e743a99ed8ccff8d4f8fd6.tar.gz
Fixed E128 flake8 warnings in tests/.
Diffstat (limited to 'tests/apps')
-rw-r--r--tests/apps/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index 701be50803..c7fff0e738 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -244,8 +244,7 @@ class AppsTests(SimpleTestCase):
body = {}
body['Meta'] = type(str("Meta"), tuple(), meta_contents)
body['__module__'] = TotallyNormal.__module__ + '.whatever'
- with six.assertRaisesRegex(self, RuntimeError,
- "Conflicting 'southponies' models in application 'apps':.*"):
+ with self.assertRaisesMessage(RuntimeError, "Conflicting 'southponies' models in application 'apps':"):
type(str("SouthPonies"), (models.Model,), body)
def test_get_containing_app_config_apps_not_ready(self):