Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-32604: Recommit "bpo-32604: PEP 554 for use in test suite (GH-19985)" #20611

Merged
merged 15 commits into from
Jun 10, 2020

Conversation

nanjekyejoannah
Copy link
Contributor

@nanjekyejoannah nanjekyejoannah commented Jun 3, 2020

Recommit of what was reverted in 9d17cbf

The refleak in the select module was fixed in a separate PR

With this fix, the tests pass:

gitpod /workspace/cpython $ ./python -m test -R 3:3 test_interpreters
0:00:00 load avg: 4.74 Run tests sequentially
0:00:00 load avg: 4.74 [1/1] test_interpreters
beginning 6 repetitions
123456
......
test_interpreters passed in 1 min 9 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 1 min 9 sec
Tests result: SUCCESS

https://bugs.python.org/issue32604

@vstinner
Copy link
Member

vstinner commented Jun 3, 2020

Sorry, I don't have the bandwidth to review this PR.

@nanjekyejoannah
Copy link
Contributor Author

The contents of this PR were already reviewed by @ericsnowcurrently . The only confirmation here is to confirm that no leaks make the tests fail which I already did. There are no changes to what had been merged before

@pablogsal pablogsal added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 3, 2020
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 9577395 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 3, 2020
@pablogsal
Copy link
Member

pablogsal commented Jun 3, 2020

I didn't review this but I am confused....why there is an rst file with documentation in the test directory?

@nanjekyejoannah
Copy link
Contributor Author

nanjekyejoannah commented Jun 3, 2020

@pablogsal, I think the discussion around this was Eric said we needed to have a reference to the added API in test.support . We could not add the document file in Doc/library/* before the API moved to stdlib. You can follow the discussion here: #19985

Edit:

I have looked and do not see docs anywhere else other than the Docs folder though. So am okay removing the .rst for this PR until consensus is reached.

@nanjekyejoannah
Copy link
Contributor Author

@pablogsal I decided to remove the docs. I hope this is okay now.

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

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

LGTM As I said when I reviewed the original PR, this is a good start. :) Thanks for doing this.

@nanjekyejoannah nanjekyejoannah merged commit bae872f into python:master Jun 10, 2020
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
…GH-19985)" (pythonGH-20611)

* PEP 554 for use in test suite

* 📜🤖 Added by blurb_it.

* Fix space

* Add doc to doc tree

* Move to modules doc tree

* Fix suspicious doc errors

* Fix test__all

* Docs docs docs

* Support isolated and fix wait

* Fix white space

* Remove undefined from __all__

* Fix recv and add exceptions

* Remove unused exceptions, fix pep 8 formatting errors and fix _NOT_SET in recv_nowait()

* Update Lib/test/support/interpreters.py

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

* Remove documentation (module is for internal use)

Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants