diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2012-08-15 13:02:50 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2012-08-15 13:23:41 +0300 |
| commit | 5d01f3caea348fdf99312ba0ee1ab668f2f81c3c (patch) | |
| tree | 7c2624bdd74b5228f2e24fd38381ca9cc1162ad7 /tests/modeltests/proxy_model_inheritance/tests.py | |
| parent | f8ea12f36b7f2e077887a1a02478ea24884b4514 (diff) | |
[py3] Removed map() calls used for side-effects only
Diffstat (limited to 'tests/modeltests/proxy_model_inheritance/tests.py')
| -rw-r--r-- | tests/modeltests/proxy_model_inheritance/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modeltests/proxy_model_inheritance/tests.py b/tests/modeltests/proxy_model_inheritance/tests.py index 061cdc7e91..39fee7ee6d 100644 --- a/tests/modeltests/proxy_model_inheritance/tests.py +++ b/tests/modeltests/proxy_model_inheritance/tests.py @@ -24,7 +24,8 @@ class ProxyModelInheritanceTests(TransactionTestCase): def setUp(self): self.old_sys_path = sys.path[:] sys.path.append(os.path.dirname(os.path.abspath(__file__))) - map(load_app, settings.INSTALLED_APPS) + for app in settings.INSTALLED_APPS: + load_app(app) def tearDown(self): sys.path = self.old_sys_path |
