Commit 6040616214c69a53d2155c2378b31a0d65e37567

Vicent Marti 2013-01-04T20:28:33

clar: lolpython

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/generate.py b/tests-clar/generate.py
index eea27b0..9d5c117 100644
--- a/tests-clar/generate.py
+++ b/tests-clar/generate.py
@@ -157,7 +157,7 @@ class TestSuite(object):
             fp = open(path, 'rb')
             cache = pickle.load(fp)
             fp.close()
-        except IOError, ValueError:
+        except (IOError, ValueError):
             pass
 
         return cache