--- a/tests/config.py Wed May 23 11:11:16 2012 +0200
+++ b/tests/config.py Wed May 23 16:02:53 2012 +0200
@@ -5,6 +5,7 @@
class Config(dict):
def __init__(self, fname):
- data = open(fname).read()
+ with open(fname) as f:
+ data = f.read()
exec(data, dict(), self)