Title: Stderr in regular tests should probably go to out as well · Issue #19554 · python/mypy · GitHub
Open Graph Title: Stderr in regular tests should probably go to out as well · Issue #19554 · python/mypy
X Title: Stderr in regular tests should probably go to out as well · Issue #19554 · python/mypy
Description: [out] in regular tests should probably include stderr as well. Recently, while making #19494, I learned that normal tests do not account for errors that go to stderr instead of stdout. This should be fixed, if possible (without performan...
Open Graph Description: [out] in regular tests should probably include stderr as well. Recently, while making #19494, I learned that normal tests do not account for errors that go to stderr instead of stdout. This should ...
X Description: [out] in regular tests should probably include stderr as well. Recently, while making #19494, I learned that normal tests do not account for errors that go to stderr instead of stdout. This should ...
Opengraph URL: https://github.com/python/mypy/issues/19554
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stderr in regular tests should probably go to out as well","articleBody":"[out] in regular tests should probably include stderr as well.\n\nRecently, while making https://github.com/python/mypy/pull/19494, I learned that normal tests do not account for errors that go to stderr instead of stdout. This should be fixed, if possible (without performance penalty, so that normal tests can run a broader swath of tests.\n\nThis would allow more tests to be moved from slow cmdline tests to fast normal tests, à la https://github.com/python/mypy/issues/5966\n\nI tried mucking about with the invocation of build.build in what struck me as the obvious ways, but even though I was able to get various `---------------------------- Captured stderr call -----------------------------` messages to pop off, I couldn't get the stderr to actually go into [out], even in a very crude way.\n\nI'm not sure about how all this is plumbed, but it seems to me there's a minimal risk of erroneous stderr output messing up unrelated tests with false positives (or are they false negatives?), if we did have this working.","author":{"url":"https://github.com/wyattscarpenter","@type":"Person","name":"wyattscarpenter"},"datePublished":"2025-07-31T17:11:40Z","url":"https://github.com/python/mypy/issues/19554"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:cfa74015-4a4b-9e0a-a20c-55ec47985c0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A6C:2EC689:287E647:371E5BB:6B00484E |
| html-safe-nonce | 8ab643873d9277f8b5766de8e03388ad3ef88b95c720fe0af2e20d55153818b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTZDOjJFQzY4OToyODdFNjQ3OjM3MUU1QkI6NkIwMDQ4NEUiLCJ2aXNpdG9yX2lkIjoiMjE3MTA0ODA1MjI4OTE5NDA2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 417e1c106d825f0805744fafade1b594f5c9eef9c42e9b1c638664d9ef69f695 |
| hovercard-subject-tag | issue:3281194993 |
| 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/mypy/19554/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76ba96a2ef894198767bc0f4a03d1c35791234257bddef75414746b8cfa7ecd9/python/mypy/issues/19554 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76ba96a2ef894198767bc0f4a03d1c35791234257bddef75414746b8cfa7ecd9/python/mypy/issues/19554 |
| og:image:alt | [out] in regular tests should probably include stderr as well. Recently, while making #19494, I learned that normal tests do not account for errors that go to stderr instead of stdout. This should ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wyattscarpenter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width