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 | xdegaye |
|---|---|
| Recipients | xdegaye |
| Date | 2012年09月26日.20:34:16 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1348691657.67.0.693161474206.issue16056@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The attached script, named find_duplicate_test_names.py, prints duplicate regression test method names in a given directory tree. Running this script on the standard library test suite shows few duplicates, see below. It means that some of those tests are not run while they are probably meant to be. Here is find_duplicate_test_names.py output on the default branch: $ ./python find_duplicate_test_names.py Lib/test Duplicate test method names: Lib/test/test_types.py: <module>.ClassCreationTests.test_new_class_exec_body Lib/test/test_heapq.py: <module>.TestErrorHandling.test_get_only Lib/test/test_complex.py: <module>.ComplexTest.test_truediv Lib/test/test_webbrowser.py: <module>.OperaCommandTest.test_open_new Lib/test/test_dis.py: <module>.DisTests.test_big_linenos Lib/test/test_dis.py: <module>.DisTests.test_dis_object Lib/test/test_import.py: <module>.ImportTests.test_import_name_binding Lib/test/test_email/test_email.py: <module>.TestQuopri.test_encode_one_long_line Lib/test/test_email/test_email.py: <module>.TestLongHeaders.test_splitter_split_on_punctuation_only_if_fws |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012年09月26日 20:34:17 | xdegaye | set | recipients: + xdegaye |
| 2012年09月26日 20:34:17 | xdegaye | set | messageid: <1348691657.67.0.693161474206.issue16056@psf.upfronthosting.co.za> |
| 2012年09月26日 20:34:17 | xdegaye | link | issue16056 messages |
| 2012年09月26日 20:34:16 | xdegaye | create | |