mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed minor warnings in tests.
This commit is contained in:
parent
d9330d5be2
commit
9ba0e4e4ee
2 changed files with 4 additions and 3 deletions
|
@ -113,7 +113,7 @@ class ModuleImportTestCase(unittest.TestCase):
|
|||
|
||||
# Test exceptions raised
|
||||
for path in ('no_dots_in_path', 'unexistent.path',
|
||||
'tests.utils_tests.unexistent'):
|
||||
'utils_tests.unexistent'):
|
||||
self.assertRaises(ImproperlyConfigured, import_by_path, path)
|
||||
|
||||
with self.assertRaises(ImproperlyConfigured) as cm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue