Title: (🐞) `--update-data` removes escapes · Issue #17465 · python/mypy · GitHub
Open Graph Title: (🐞) `--update-data` removes escapes · Issue #17465 · python/mypy
X Title: (🐞) `--update-data` removes escapes · Issue #17465 · python/mypy
Description: [case testSomethingSus] \[1] + 1 > pytest mypy --update-data Expected [case testSomethingSus] \[1] + 1 # E: Something sus [sus] Actual [case testSomethingSus] [1] + 1 # E: Something sus [sus]
Open Graph Description: [case testSomethingSus] \[1] + 1 > pytest mypy --update-data Expected [case testSomethingSus] \[1] + 1 # E: Something sus [sus] Actual [case testSomethingSus] [1] + 1 # E: Something sus [sus]
X Description: [case testSomethingSus] \[1] + 1 > pytest mypy --update-data Expected [case testSomethingSus] \[1] + 1 # E: Something sus [sus] Actual [case testSomethingSus] [1] + 1 # E: Something sus [sus]
Opengraph URL: https://github.com/python/mypy/issues/17465
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"(🐞) `--update-data` removes escapes","articleBody":"```py\r\n[case testSomethingSus]\r\n\\[1] + 1\r\n```\r\n```\r\n> pytest mypy --update-data\r\n```\r\n# Expected\r\n```py\r\n[case testSomethingSus]\r\n\\[1] + 1 # E: Something sus [sus]\r\n```\r\n# Actual\r\n```py\r\n[case testSomethingSus]\r\n[1] + 1 # E: Something sus [sus]\r\n```","author":{"url":"https://github.com/KotlinIsland","@type":"Person","name":"KotlinIsland"},"datePublished":"2024-07-02T14:25:53Z","url":"https://github.com/python/mypy/issues/17465"}
| 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:f9120321-8bc2-71af-d683-d1ca4cde28ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFF2:1F7AC:1CCEC4:286310:6B005753 |
| html-safe-nonce | 0f6118eee76adc766ff9b1775d178e2b1262fac5ddf02f55c5fc2c5ee94ad049 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkYyOjFGN0FDOjFDQ0VDNDoyODYzMTA6NkIwMDU3NTMiLCJ2aXNpdG9yX2lkIjoiNDg5Nzg5MTc0ODc5MDk0OTcxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 106d38a00779e0344fc1970cde79db73c8e1aeece39cbf56bafc1cacd3f8bc0f |
| hovercard-subject-tag | issue:2386418102 |
| 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/17465/issue_layout |
| twitter:image | https://opengraph.githubassets.com/535dbdda21965f8278523949b1e431ea8389f589fde6776563e05a1d6aea4bda/python/mypy/issues/17465 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/535dbdda21965f8278523949b1e431ea8389f589fde6776563e05a1d6aea4bda/python/mypy/issues/17465 |
| og:image:alt | [case testSomethingSus] \[1] + 1 > pytest mypy --update-data Expected [case testSomethingSus] \[1] + 1 # E: Something sus [sus] Actual [case testSomethingSus] [1] + 1 # E: Something sus [sus] |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KotlinIsland |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width