Mercurial > cpython-lru_cache-weakref
changeset 87554:871d496fa06c
asyncio: Change mock pipe to mock socket. Hope to fix issue 19750.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 25 Nov 2013 09:43:52 -0800 |
| parents | 6ec6facb69ca |
| children | 368b74823c76 |
| files | Lib/test/test_asyncio/test_unix_events.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/test/test_asyncio/test_unix_events.py Mon Nov 25 10:43:59 2013 +0100 +++ b/Lib/test/test_asyncio/test_unix_events.py Mon Nov 25 09:43:52 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)
