From 46e4ba258fd2e74384a6a43b9edbe55754518bc2 Mon Sep 17 00:00:00 2001 From: Craig Blaszczyk Date: Wed, 4 Jan 2012 18:05:12 +0000 Subject: #75 remove except statements which are overly broad in the exception they catch --- examples/pygments_api/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pygments_api') 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): -- cgit v1.2.3