Title: TESTSUBDIRS missing some test directories · Issue #98822 · python/cpython · GitHub
Open Graph Title: TESTSUBDIRS missing some test directories · Issue #98822 · python/cpython
X Title: TESTSUBDIRS missing some test directories · Issue #98822 · python/cpython
Description: Bug report I noticed this when test_sqlite3 was missing from the installed tests Your environment 3.11+ though I suspect some other versions might have inaccurate testdir listings too here's the missing ones for the current primary branc...
Open Graph Description: Bug report I noticed this when test_sqlite3 was missing from the installed tests Your environment 3.11+ though I suspect some other versions might have inaccurate testdir listings too here's the mi...
X Description: Bug report I noticed this when test_sqlite3 was missing from the installed tests Your environment 3.11+ though I suspect some other versions might have inaccurate testdir listings too here's th...
Opengraph URL: https://github.com/python/cpython/issues/98822
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TESTSUBDIRS missing some test directories","articleBody":"\r\n# Bug report\r\n\r\nI noticed this when `test_sqlite3` was missing from the installed tests\r\n\r\n# Your environment\r\n\r\n3.11+ though I suspect some other versions might have inaccurate testdir listings too\r\n\r\nhere's the missing ones for the current primary branch for example:\r\n\r\n```diff\r\ndiff --git a/Makefile.pre.in b/Makefile.pre.in\r\nindex 9961a864cb..9a19b5c147 100644\r\n--- a/Makefile.pre.in\r\n+++ b/Makefile.pre.in\r\n@@ -1963,6 +1963,7 @@ LIBSUBDIRS=\tasyncio \\\r\n \t\txmlrpc \\\r\n \t\tzoneinfo \\\r\n \t\t__phello__\r\n+# find Lib/test/ -type d | cut -d/ -f2- | sort | grep -Ev '(crashers|leakers)' | xargs --replace echo $'\\t\\t{} \\\\'\r\n TESTSUBDIRS=\tdistutils/tests \\\r\n \t\tidlelib/idle_test \\\r\n \t\ttest \\\r\n@@ -1972,7 +1973,6 @@ TESTSUBDIRS=\tdistutils/tests \\\r\n \t\ttest/data \\\r\n \t\ttest/decimaltestdata \\\r\n \t\ttest/dtracedata \\\r\n-\t\ttest/eintrdata \\\r\n \t\ttest/encoded_modules \\\r\n \t\ttest/imghdrdata \\\r\n \t\ttest/libregrtest \\\r\n@@ -2039,7 +2039,26 @@ TESTSUBDIRS=\tdistutils/tests \\\r\n \t\ttest/test_lib2to3/data/fixers \\\r\n \t\ttest/test_lib2to3/data/fixers/myfixes \\\r\n \t\ttest/test_peg_generator \\\r\n+\t\ttest/test_sqlite3 \\\r\n \t\ttest/test_tkinter \\\r\n+\t\ttest/test_tomllib \\\r\n+\t\ttest/test_tomllib/data \\\r\n+\t\ttest/test_tomllib/data/invalid \\\r\n+\t\ttest/test_tomllib/data/invalid/array \\\r\n+\t\ttest/test_tomllib/data/invalid/array-of-tables \\\r\n+\t\ttest/test_tomllib/data/invalid/boolean \\\r\n+\t\ttest/test_tomllib/data/invalid/dates-and-times \\\r\n+\t\ttest/test_tomllib/data/invalid/dotted-keys \\\r\n+\t\ttest/test_tomllib/data/invalid/inline-table \\\r\n+\t\ttest/test_tomllib/data/invalid/keys-and-vals \\\r\n+\t\ttest/test_tomllib/data/invalid/literal-str \\\r\n+\t\ttest/test_tomllib/data/invalid/multiline-basic-str \\\r\n+\t\ttest/test_tomllib/data/invalid/multiline-literal-str \\\r\n+\t\ttest/test_tomllib/data/invalid/table \\\r\n+\t\ttest/test_tomllib/data/valid \\\r\n+\t\ttest/test_tomllib/data/valid/array \\\r\n+\t\ttest/test_tomllib/data/valid/dates-and-times \\\r\n+\t\ttest/test_tomllib/data/valid/multiline-basic-str \\\r\n \t\ttest/test_tools \\\r\n \t\ttest/test_ttk \\\r\n \t\ttest/test_unittest \\\r\n```\r\n\r\nlet me know if you'd like me to send patch(es) or if there's a more programmatic way to handle this\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103942\n* gh-103946\n* gh-103970\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/asottile","@type":"Person","name":"asottile"},"datePublished":"2022-10-28T18:53:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/98822/cpython/issues/98822"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3cb00e11-02f4-a8e2-9d69-d5d0331f1aa8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B15C:1AF501:57840D:73CAE5:6A51732C |
| html-safe-nonce | cb8600dbd0a899b47194220c2826738a274c99b86fd08663bbd472ca7e899077 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTVDOjFBRjUwMTo1Nzg0MEQ6NzNDQUU1OjZBNTE3MzJDIiwidmlzaXRvcl9pZCI6IjcwNjQ2NzEzMjMzMzU3ODMyMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 92fd002c110eedbc8f1f2a2849aa255d71fc467c8eb8b088774c223f2008f2ba |
| hovercard-subject-tag | issue:1427682100 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98822/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1050e1be83480c4e9b19049d81717ffdbeea49a5c2dad2f992a51275e00a4879/python/cpython/issues/98822 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1050e1be83480c4e9b19049d81717ffdbeea49a5c2dad2f992a51275e00a4879/python/cpython/issues/98822 |
| og:image:alt | Bug report I noticed this when test_sqlite3 was missing from the installed tests Your environment 3.11+ though I suspect some other versions might have inaccurate testdir listings too here's the mi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asottile |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b19955a9dd40fd99462443f7911b522d7216776a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width