Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@StephanTLavavej
Copy link
Member

I used Pylance to find these issues.

  • Use _ when ignoring part of a destructured tuple.
    • We've done this elsewhere, so now it's consistent.
  • Drop unused imports.
  • Drop unused filename variable.
  • Use name and value variables.
  • Non-Python: Detect 17.6 Preview 2 in test_header_units_and_modules.hpp.
    • We don't usually test _MSC_FULL_VER (as it's too volatile between MSVC-internal branches) but this value should be safe as it's released. The PR/CI system is currently using Preview 1, and we won't be able to update to Preview 2 due to a blocking bug in the VS Installer, so this is needed for local test runs to pass, until we can update to Preview 3 and entirely clear out this workaround.

@StephanTLavavej StephanTLavavej added the test Related to test code label Mar 29, 2023
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner March 29, 2023 18:40
@StephanTLavavej
Copy link
Member Author

I'm speculatively mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 9231abe into microsoft:main Mar 30, 2023
@StephanTLavavej StephanTLavavej deleted the python branch March 30, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants