aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pygments_api/tests.py
diff options
context:
space:
mode:
authorMarko Tibold2012-01-04 10:19:40 -0800
committerMarko Tibold2012-01-04 10:19:40 -0800
commitb745d0c2f46b901ed7a6b8e92d4ea3faf2a47736 (patch)
tree2f392c4543919635e6a17541dc1d98e9d560aaf8 /examples/pygments_api/tests.py
parentbe11336dd91f26475a46f41e94c6c0fef25f53f3 (diff)
parent46e4ba258fd2e74384a6a43b9edbe55754518bc2 (diff)
downloaddjango-rest-framework-b745d0c2f46b901ed7a6b8e92d4ea3faf2a47736.tar.bz2
Merge pull request #109 from jakul/bare_except_stmts
Change 'except' for 'except Exception' (Fixes issue #75)
Diffstat (limited to 'examples/pygments_api/tests.py')
-rw-r--r--examples/pygments_api/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pygments_api/tests.py b/examples/pygments_api/tests.py
index 98139ce2..24726647 100644
--- a/examples/pygments_api/tests.py
+++ b/examples/pygments_api/tests.py
@@ -18,7 +18,7 @@ class TestPygmentsExample(TestCase):
def tearDown(self):
try:
shutil.rmtree(self.temp_dir)
- except:
+ except Exception:
pass
def test_get_to_root(self):