Skip to content

Commit a9789eb

Browse files
authored
Add prediff for Python module test with version sensitive output (#27100)
Adds a prediff for a Python module test whose output can change based on the Python version used. [Reviewed by @lydia-duncan]
2 parents 3c0c14a + 85c5fe0 commit a9789eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
sed "s/('invalid syntax', ('<string>'.*$/invalid syntax (<string>, line 1)/" $2 > $2.tmp
4+
mv $2.tmp $2

0 commit comments

Comments
 (0)