This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients louielu, serhiy.storchaka, vstinner
Date 2017-09-01.15:33:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504280010.98.0.373907166894.issue31324@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, by the way, -m test -m TestCaseName doesn't work fully on test_asyncio. It only works if I pass the full test identifier.

With TestCaseName, no test is run:

haypo@selma$ ./python -m test -u all test_asyncio --fail-env-changed -m PollEventLoopTests 
Run tests sequentially
0:00:00 load avg: 6.97 [1/1] test_asyncio
1 test OK.

Total duration: 458 ms
Tests result: SUCCESS


With a full test identifier, a test is run:


haypo@selma$ ./python -m test -u all test_asyncio --fail-env-changed -m test.test_asyncio.test_events.PollEventLoopTests.test_create_datagram_endpoint_sock
Run tests sequentially
0:00:00 load avg: 7.06 [1/1] test_asyncio
Warning -- threading_cleanup() detected 1 leaked threads (count: 1, dangling: 2)
test_asyncio failed (env changed)

1 test altered the execution environment:
    test_asyncio

Total duration: 561 ms
Tests result: ENV CHANGED
History
Date User Action Args
2017-09-01 15:33:30vstinnersetrecipients: + vstinner, serhiy.storchaka, louielu
2017-09-01 15:33:30vstinnersetmessageid: <1504280010.98.0.373907166894.issue31324@psf.upfronthosting.co.za>
2017-09-01 15:33:30vstinnerlinkissue31324 messages
2017-09-01 15:33:30vstinnercreate