Title: Make 3.10 sqlite3 tests run · Issue #94998 · python/cpython · GitHub
Open Graph Title: Make 3.10 sqlite3 tests run · Issue #94998 · python/cpython
X Title: Make 3.10 sqlite3 tests run · Issue #94998 · python/cpython
Description: On my Windows 10, after fresh repository update and debug build, 3.10 sqlite3 tests do not run. (3.11 and 3.12 are fine.) In 3.10, test_sqlite/ only contains test_dbapi.py python -m test test_sqlite3 is OK after no tests run. (I though w...
Open Graph Description: On my Windows 10, after fresh repository update and debug build, 3.10 sqlite3 tests do not run. (3.11 and 3.12 are fine.) In 3.10, test_sqlite/ only contains test_dbapi.py python -m test test_sqlit...
X Description: On my Windows 10, after fresh repository update and debug build, 3.10 sqlite3 tests do not run. (3.11 and 3.12 are fine.) In 3.10, test_sqlite/ only contains test_dbapi.py python -m test test_sqlit...
Opengraph URL: https://github.com/python/cpython/issues/94998
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make 3.10 sqlite3 tests run","articleBody":"On my Windows 10, after fresh repository update and debug build, 3.10 sqlite3 tests do not run.\r\n(3.11 and 3.12 are fine.) In 3.10, `test_sqlite/` only contains `test_dbapi.py`\r\n\r\n`python -m test test_sqlite3` is OK after no tests run. (I though we made this an error.)\r\n`python -m test.test_sqlite3` fails because test_sqlite3/ is missing `__main__.py`, as well as `__init__.py`\r\n\r\nIn 3.11, `test_sqlite3.__main__.py` is\r\n```\r\nfrom test.test_sqlite3 import load_tests # Needed for the \"load tests\" protocol.\r\nimport unittest\r\n\r\nif __name__ == \"__main__\":\r\n unittest.main()\r\n```\r\nThe comment seems not needed. The other 3.10 test.test_x directories all run and have variations of this. Some have `from . import load_tests`. Some have `unittest.main('test.test_x')` instead of a load_tests import. Most omit the redundant if-clause.\r\n\r\nAfter adding `__main__.py`, tests still do not run because `__init__.py` is needed. I may try to do a PR tomorrow.\r\n","author":{"url":"https://github.com/terryjreedy","@type":"Person","name":"terryjreedy"},"datePublished":"2022-07-19T06:56:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/94998/cpython/issues/94998"}
| 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:90a344b8-4c95-918e-bb5f-c36c26ecc94a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C894:1C99EC:9EEBDF:DD0C40:696A3041 |
| html-safe-nonce | 435c1f8d7c5a6ac56ee9f57dda115389c4867253e9f0d6b69af03de72318c6a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODk0OjFDOTlFQzo5RUVCREY6REQwQzQwOjY5NkEzMDQxIiwidmlzaXRvcl9pZCI6IjczMjc2NzU3OTc0Njk4MDI1NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e92e8afeb82fe68fe5559925bc0a309c80f5190905a070d5675fdd1c57057de5 |
| hovercard-subject-tag | issue:1309068703 |
| 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/94998/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b2aabd5d160e3ad291680a1520fef0ef89729abb76657dafadd1fb9fbd638a3/python/cpython/issues/94998 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b2aabd5d160e3ad291680a1520fef0ef89729abb76657dafadd1fb9fbd638a3/python/cpython/issues/94998 |
| og:image:alt | On my Windows 10, after fresh repository update and debug build, 3.10 sqlite3 tests do not run. (3.11 and 3.12 are fine.) In 3.10, test_sqlite/ only contains test_dbapi.py python -m test test_sqlit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | terryjreedy |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| 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 | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width