[issue24157] test_urandom_fd_reopened failure on Mac OS X

2015-05-13 Thread Skip Montanaro

Skip Montanaro added the comment:

Sorry for the delay. With LANG=C I get this extra bit of output:

'this test triggers the Crash Reporter, that is intentional\x80TbG=\x0f\x19t'

With LANG=en_US.UTF-8 (the encoding of my Terminal instance), I get this:

'this test triggers the Crash Reporter, that is 
intentional\xf6\xcd\x7f\xf1O\x91\t\xac'

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24157
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24157] test_urandom_fd_reopened failure on Mac OS X

2015-05-11 Thread Ned Deily

Ned Deily added the comment:

Skip, looking at the test, it seems likely that there is unexpected writing to 
stdout in the subprocess.  Can you add a print(out) in the test (around 
test_os.py:1273) to see what is actually being written on your machine?

--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24157
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24157] test_urandom_fd_reopened failure on Mac OS X

2015-05-10 Thread Skip Montanaro

New submission from Skip Montanaro:

Got this reproducibly on the cpython branch on my Mac (Yosemite 10.10.3). It 
succeeds on my 3.4 branch, both updated a few minutes ago. Didn't see it 
already reported:

% ./python.exe Lib/test/test_os.py
s..sss.ss...s...s.sss.s.sssF...ss
==
FAIL: test_urandom_fd_reopened (__main__.URandomFDTests)
--
Traceback (most recent call last):
  File Lib/test/test_os.py, line 1273, in test_urandom_fd_reopened
self.assertEqual(len(out), 8)
AssertionError: 66 != 8

--
Ran 189 tests in 1.352s

FAILED (failures=1, skipped=41)

--
components: Tests
messages: 242856
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: test_urandom_fd_reopened failure on Mac OS X
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24157
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com