Terry J. Reedy added the comment:

The test added in the PR passes on linux (Travis) and Mac (op's machine), fails 
on Windows (Appveyor).  The patch itself modifies abstract.c.  Could some 
Windows expert take a look?

test_string_with_stream_redirection (test.test_print.TestPy2MigrationHint) ... 
FAIL
FAIL: test_string_with_stream_redirection (test.test_print.TestPy2MigrationHint)

Traceback (most recent call last):
File "C:\projects\cpython\lib\test\test_print.py", line 165, in 
test_string_with_stream_redirection
'file=<output_stream>)', str(context.exception))
AssertionError: 'Did you mean "print(, file=<output_stream>)' not found in 
"unsupported operand type(s) for >>: 'builtin_function_or_method' and 
'_io.StringIO'"

----------
nosy: +paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
stage:  -> patch review

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30721>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to