Skip to content

Commit f84e907

Browse files
committed
added
1 parent 8a50e3f commit f84e907

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎v3/tests/diff_py23_golden_files.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import os, itertools, subprocess
2+
3+
for (dn, sd, files) in itertools.chain(os.walk('backend-tests/'), os.walk('../example-code/')):
4+
for f in files:
5+
bn, ext = os.path.splitext(f)
6+
if ext == '.golden':
7+
subprocess.call(['diff', '-u', os.path.join(dn, bn + ext), os.path.join(dn, bn + '.golden_py3')])

0 commit comments

Comments
 (0)