diff options
author | Guido van Rossum <guido@python.org> | 2013-11-25 17:43:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-11-25 17:43:52 (GMT) |
commit | 14c3e1405350b0ba761877d719edcac6d1f696a5 (patch) | |
tree | 896ac8ae41cf94102e8ead32330f2e09521fdab2 /Lib | |
parent | 23ed7e3d128d584854146e09ff4c77135deeee67 (diff) | |
download | cpython-14c3e1405350b0ba761877d719edcac6d1f696a5.zip cpython-14c3e1405350b0ba761877d719edcac6d1f696a5.tar.gz cpython-14c3e1405350b0ba761877d719edcac6d1f696a5.tar.bz2 |
asyncio: Change mock pipe to mock socket. Hope to fix issue 19750.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_asyncio/test_unix_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py index fdd9049..98cf407 100644 --- a/Lib/test/test_asyncio/test_unix_events.py +++ b/Lib/test/test_asyncio/test_unix_events.py @@ -379,7 +379,7 @@ class UnixWritePipeTransportTests(unittest.TestCase): 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) |