diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
| commit | 96d1d4e29275f4f5900f0725975d2ad0a4d05816 (patch) | |
| tree | 17b846e3b77f68fbb3b1dc7a2ff413f574c62ce1 /tests/generic_views/test_base.py | |
| parent | 5f52590368063fc8284e23be492d83ba751f66bf (diff) | |
Removed unused local variables in tests.
Diffstat (limited to 'tests/generic_views/test_base.py')
| -rw-r--r-- | tests/generic_views/test_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/generic_views/test_base.py b/tests/generic_views/test_base.py index 5dd6815d05..eafa61a271 100644 --- a/tests/generic_views/test_base.py +++ b/tests/generic_views/test_base.py @@ -76,7 +76,7 @@ class ViewTest(unittest.TestCase): Test that a view can't be accidentally instantiated before deployment """ try: - view = SimpleView(key='value').as_view() + SimpleView(key='value').as_view() self.fail('Should not be able to instantiate a view') except AttributeError: pass @@ -86,7 +86,7 @@ class ViewTest(unittest.TestCase): Test that a view can't be accidentally instantiated before deployment """ try: - view = SimpleView.as_view('value') + SimpleView.as_view('value') self.fail('Should not be able to use non-keyword arguments instantiating a view') except TypeError: pass |
