Inline error type
@@ -5,7 +5,6 @@ from testutils import assert_raises
dir_path = os.path.dirname(os.path.realpath(__file__))
-error = ValueError
-with assert_raises(error):
+with assert_raises(ValueError):
with open(os.path.join(dir_path , "non_utf8.txt")) as f:
eval(f.read())
