Message11678

Author jeff.allen
Recipients jamesmudd, jeff.allen
Date 2017-11-22.20:21:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511382071.64.0.213398074469.issue2646@psf.upfronthosting.co.za>
In-reply-to
Content
Offending result for reference:

test_os_jy

     [exec] bash: warning: setlocale: LC_ALL: cannot change locale (tr_TR.UTF-8)
     [exec] bash: warning: setlocale: LC_ALL: cannot change locale (tr_TR.UTF-8)
     [exec] test test_os_jy failed -- Traceback (most recent call last):
     [exec]   File "/home/travis/build/jythontools/jython/dist/Lib/test/test_os_jy.py", line 243, in test_getcwd
     [exec]     self.assertEqual(p.stdout.read().decode("utf-8"), temp_cwd)
     [exec] AssertionError: u'/home/travis/build/jythontools/jython/tempcwd-\xe4\xb8\xad\xe6\x96\x87' != '/home/travis/build/jythontools/jython/tempcwd-\xe4\xb8\xad\xe6\x96\x87'

But those two strings aren't equal, and Jython knows it now because I just fixed unicode-str comparison in #2638. It looks like it is coming from a test using spawned subprocesses. subprocess has a different implementation on Windows (me) and Unix (Travis), or maybe the test is skipped on Windows.

Anyway, I think investigation will show that the test is at fault. (Looks like a bit I touched in the file name encoding change.)
History
Date User Action Args
2017-11-22 20:21:11jeff.allensetmessageid: <1511382071.64.0.213398074469.issue2646@psf.upfronthosting.co.za>
2017-11-22 20:21:11jeff.allensetrecipients: + jeff.allen, jamesmudd
2017-11-22 20:21:11jeff.allenlinkissue2646 messages
2017-11-22 20:21:10jeff.allencreate