Changes in tests/pybin/tools.py [5ea5b28:84b4d607]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
r5ea5b28 r84b4d607 79 79 def diff( lhs, rhs ): 80 80 # diff the output of the files 81 diff_cmd = ("diff --text " 82 # "--ignore-all-space " 83 # "--ignore-blank-lines " 81 diff_cmd = ("diff --ignore-all-space --text " 82 "--ignore-blank-lines " 84 83 "--old-group-format='\t\tmissing lines :\n" 85 84 "%%<' \\\n" … … 247 246 if column: 248 247 cmd = "%s 2> /dev/null" % column 249 print(cmd)250 248 proc = Popen(cmd, stdin=PIPE, stderr=None, shell=True) 251 proc.communicate(input=text )249 proc.communicate(input=text + "\n") 252 250 else: 253 251 print(text)
Note: See TracChangeset
for help on using the changeset viewer.