Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jan 7, 2019

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.

https://bugs.python.org/issue32710

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.
Copy link
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@vstinner vstinner merged commit df8e1fb into python:master Jan 7, 2019
@vstinner vstinner deleted the test_asyncio_sendfile branch January 7, 2019 22:56
@vstinner
Copy link
Member Author

vstinner commented Jan 7, 2019

Good catch, thank you!

Thanks for the review. Sadly, it's not the fix for the reference leak. I'm trying to understand the leak since one year...

@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker df8e1fb4e388e18430a9be8c6ceeb03c330f166c 3.7

@vstinner
Copy link
Member Author

vstinner commented Jan 7, 2019

Sorry, @vstinner, I could not cleanly backport this to 3.7 due to a conflict.

Oh, Lib/test/test_asyncio/test_sendfile.py doesn't exist in the 3.7 branch.

@asvetlov
Copy link
Contributor

asvetlov commented Jan 8, 2019

Yes, sendfile tests were in test_events.py for 3.7 IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants