mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Merge pull request #882 from loic/testfix
Fixed minor warnings in tests.
This commit is contained in:
commit
c31a9793c6
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