mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -78,7 +78,10 @@ class AppsTests(SimpleTestCase):
|
||||
with self.assertRaises(ImportError):
|
||||
with self.settings(INSTALLED_APPS=["there is no such app"]):
|
||||
pass
|
||||
msg = "Cannot import 'there is no such app'. Check that 'apps.apps.NoSuchApp.name' is correct."
|
||||
msg = (
|
||||
"Cannot import 'there is no such app'. Check that "
|
||||
"'apps.apps.NoSuchApp.name' is correct."
|
||||
)
|
||||
with self.assertRaisesMessage(ImproperlyConfigured, msg):
|
||||
with self.settings(INSTALLED_APPS=["apps.apps.NoSuchApp"]):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user