[issue19750] test_asyncio.test_unix_events constructor failures on AIX
Guido van Rossum
report at bugs.python.org
Sun Nov 24 21:29:02 CET 2013
Guido van Rossum added the comment:
Can you try this patch?
diff -r 14cbf01b1929 tests/test_unix_events.py
--- a/tests/test_unix_events.py Sun Nov 24 11:04:44 2013 -0800
+++ b/tests/test_unix_events.py Sun Nov 24 12:28:42 2013 -0800
@@ -379,7 +379,7 @@
fstat_patcher = unittest.mock.patch('os.fstat')
m_fstat = fstat_patcher.start()
st = unittest.mock.Mock()
- st.st_mode = stat.S_IFIFO
+ st.st_mode = stat.S_IFSOCK
m_fstat.return_value = st
self.addCleanup(fstat_patcher.stop)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19750>
_______________________________________
More information about the Python-bugs-list
mailing list