Miss Islington (bot)
3adf23471e
gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_close_peer_in_the_middle_of_receiving (GH-98316)
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
(cherry picked from commit 3e82ad05b1
)
Co-authored-by: fancidev <fancidev@gmail.com>
2022-10-17 09:13:37 -07:00
Miss Islington (bot)
75d88b91e6
bpo-41682: fixed flaky test test_sendfile_close_peer_in_the_middle_of_receiving (GH-30845) ( #30860 )
...
(cherry picked from commit 1c705fda8f
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-01-25 18:40:13 +01:00
Miss Islington (bot)
486b4d3d8e
bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801) (GH-30812)
...
(cherry picked from commit 1ded8ed8e8
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-01-23 01:58:16 +01:00
Miss Islington (bot)
6111d5dee2
bpo-46425: fix direct invocation of `asyncio` tests (GH-30725) ( #30782 )
...
(cherry picked from commit 5a5340044c
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-01-22 14:29:51 +02:00
Miss Islington (bot)
95948169d7
bpo-23819: Get rid of assert statements in test_asyncio (GH-30212) (GH-30213)
...
To keep checks even if run tests with optimized Python.
Either use special assertion methods like assertEqual() or
raise an AssertionError explicitly.
(cherry picked from commit 6ca78affc8
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-12-20 14:50:45 +02:00
Jakub Kulík
8c0be6fd91
bpo-41687: Fix sendfile implementation to work with Solaris ( #22040 )
2020-09-05 12:10:01 -07:00
Hai Shi
06a40d7359
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
2020-06-25 14:15:40 +02:00
Serhiy Storchaka
16994912c9
bpo-40275: Avoid importing socket in test.support (GH-19603)
...
* Move socket related functions from test.support to socket_helper.
* Import socket, nntplib and urllib.error lazily in transient_internet().
* Remove importing multiprocess.
2020-04-25 10:06:29 +03:00
Andrew Svetlov
ef2152354f
bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075)
2019-06-15 14:05:08 +03:00
Victor Stinner
df8e1fb4e3
bpo-32710: test_asyncio: test_sendfile reset policy (GH-11461)
...
test_asyncio/test_sendfile.py now resets the event loop policy using
tearDownModule() as done in other tests, to prevent a warning when
running tests on Windows.
2019-01-07 23:55:57 +01:00
Andrew Svetlov
2b2758d0b3
Extract sendfile tests into a separate test file ( #9757 )
2018-10-09 07:52:57 +03:00