Fixed minor warnings in tests.

This commit is contained in:
Loic Bistuer 2013-03-06 01:13:36 +07:00
parent d9330d5be2
commit 9ba0e4e4ee
2 changed files with 4 additions and 3 deletions

View file

@ -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: