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 serhiy.storchaka
Recipients ezio.melotti, mdk, michael.foord, rbcollins, serhiy.storchaka, vstinner
Date 2017-06-05.05:07:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496639260.15.0.693892108703.issue30523@psf.upfronthosting.co.za>
In-reply-to
Content
I concur with Julien, the result should be printed to stdout.

I tried:

$ ./python -m unittest test.test_builtin --list-tests
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
test.test_builtin.BuiltinTest.test_abs
test.test_builtin.BuiltinTest.test_all
...

$ ./python -m test.test_builtin --list-tests
BuiltinTest.test_abs
BuiltinTest.test_all
BuiltinTest.test_any
...
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest
doctest.DocTestCase.runTest

All these doctest.DocTestCase.runTest look useless.

But "./python -m unittest test.test_json --list-tests" and "./python -m test.test_json --list-tests" give the same output.

"./python -m test.test_doctest --list-tests" and "./python -m test.test_tk --list-tests" run tests instead of listing them.
History
Date User Action Args
2017-06-05 05:07:40serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, rbcollins, ezio.melotti, michael.foord, mdk
2017-06-05 05:07:40serhiy.storchakasetmessageid: <1496639260.15.0.693892108703.issue30523@psf.upfronthosting.co.za>
2017-06-05 05:07:40serhiy.storchakalinkissue30523 messages
2017-06-05 05:07:39serhiy.storchakacreate