We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b0e671 + 6d50b6f commit 2acf477Copy full SHA for 2acf477
1 file changed
test/test_examples.py
@@ -52,7 +52,7 @@ def test_examples():
52
53
try:
54
service_file = open(example).read()
55
- exec(re.sub('# coding=utf-8', '', service_file), globals())
+ exec(re.sub('# coding[:=]\s*utf-8', '', service_file), globals())
56
except Exception as e:
57
assert False, 'example in file ' + name + ' failed with error: '\
58
+ str(e) + '\n' + traceback.format_exc()
0 commit comments