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

Skip to content

Commit 392ae93

Browse files
authored
Move test_cases to stdlib/@tests/test_cases (python#11865)
1 parent ea61ca5 commit 392ae93

49 files changed

Lines changed: 37 additions & 37 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"exclude": [
99
// test cases use a custom config file
10-
"stubs/**/@tests/test_cases"
10+
"**/@tests/test_cases",
1111
],
1212
"typeCheckingMode": "strict",
1313
// Allowed in base settings for incomplete stubs, checked in stricter settings

pyrightconfig.stricter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"exclude": [
99
// test cases use a custom pyrightconfig file
10-
"stubs/**/@tests/test_cases",
10+
"**/@tests/test_cases",
1111
"stdlib/distutils/command",
1212
"stdlib/distutils/dist.pyi",
1313
"stdlib/importlib/readers.pyi",

pyrightconfig.testcases.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
33
"typeshedPath": ".",
44
"include": [
5-
"test_cases",
6-
"stubs/**/@tests/test_cases"
5+
"**/@tests/test_cases",
76
],
87
"typeCheckingMode": "strict",
98
// Extra strict settings
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test_cases/stdlib/builtins/check_exception_group-py311.py renamed to stdlib/@tests/test_cases/builtins/check_exception_group-py311.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)