Message301128
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 |
|
Date |
User |
Action |
Args |
2017-09-01 15:33:30 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, louielu |
2017-09-01 15:33:30 | vstinner | set | messageid: <1504280010.98.0.373907166894.issue31324@psf.upfronthosting.co.za> |
2017-09-01 15:33:30 | vstinner | link | issue31324 messages |
2017-09-01 15:33:30 | vstinner | create | |
|