Title: Issue · GitHub
Open Graph Title: Issue · python/mypy
X Title: Issue · python/mypy
Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
Open Graph Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
X Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
Opengraph URL: https://github.com/python/mypy
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running tests on Windows causes cmd windows to rapidly pop up and disappear","articleBody":"When I try running the tests on Windows, after a certain point the tests will suddenly start spawning and killing cmd windows rapidly. Each window shows up for a fraction of a second, and disappears. \r\n\r\nFrom one perspective, this is a non-issue: the temporary windows always disappear and the tests appear to finish and complete successfully. On the other hand, it's sort of alarming: I ran tests and switched over to my browser, and had a mild moment of panic when these cmd windows suddenly starting showing up and stealing focus.\r\n\r\nI'm assuming this related to the recent work we've been doing with the windows daemon code: I can repro this fairly quickly by running `pytest -k Daemon` using both Powershell and the standard command prompt on Windows 10, and this behavior appears to have been introduced by https://github.com/python/mypy/commit/abd319ab80d476f14e96918d5615fa0ac5b41d75. \r\n\r\nI think ideally we'd stop making these windows appear and disappear. If that's not possible, we could instead maybe do one of the following:\r\n\r\n1. Have the windows spawn in the background (so they don't steal focus).\r\n2. Move the daemon-related tests out of `pytest-fast` or something so that users can opt-out of these tests by running `py -3 ./runtests.py pytest-fast` or something similar.\r\n3. Document that this is expected behavior somewhere.\r\n","author":{"url":"https://github.com/Michael0x2a","@type":"Person","name":"Michael0x2a"},"datePublished":"2018-12-03T03:38:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5991/mypy/issues/5991"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:4d2a712f-363e-f15f-ce0d-21bcdb7ff94b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 969C:33D2D8:1EF7F18:2C971EE:6A4CEF44 |
| html-safe-nonce | c41f11d75231fe6ce4c0a92d0d9798879e9f5d34ea917c0fb61746b81a8a9aaa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjlDOjMzRDJEODoxRUY3RjE4OjJDOTcxRUU6NkE0Q0VGNDQiLCJ2aXNpdG9yX2lkIjoiNzc4NDI0NzEzMzMzNTI1MjgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5f2cd7030e73a04ee0e2b63a0940448841d3a7c9a1c6de13fdc71f89798a72cc |
| hovercard-subject-tag | repository:7053637 |
| 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/python/mypy/issues/5991 |
| twitter:image | https://opengraph.githubassets.com/b2d63b4d24addf767fc37ce319ca82e9fe5dec9eca1b47b4add2c8a11e9f3b45/python/mypy |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2d63b4d24addf767fc37ce319ca82e9fe5dec9eca1b47b4add2c8a11e9f3b45/python/mypy |
| og:image:alt | Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-cache |
| 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 | efec6750a5afcaeaf5dfcf629f404cf98c8371e3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width