Skip to content

Commit e07d23e

Browse files
chore: disable failing parse tests for now (#366)
1 parent 29d1347 commit e07d23e

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

tests/integration/codemod/conftest.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,6 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:
5757
size = list(map(Size, metafunc.config.getoption("--size")))
5858

5959
match metafunc.definition.name:
60-
# case "test_codemods_diffs":
61-
# cases = []
62-
# for case in find_codemod_test_cases(repos):
63-
# cases.append(case)
64-
65-
# metafunc.parametrize(
66-
# "raw_codemod,repo,expected",
67-
# [pytest.param(i.codemod_metadata.codemod, i.repo, i.test_dir, marks=pytest.mark.xdist_group(i.repo.name)) for i in cases],
68-
# indirect=["repo", "expected"],
69-
# ids=[f"{i.codemod_metadata.name}-{i.repo.name}" for i in cases],
70-
# scope="session",
71-
# )
7260
case "test_codemods_cloned_repos":
7361
cases = []
7462
for case in find_codemod_test_cases(repos):
@@ -92,7 +80,8 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:
9280
scope="session",
9381
)
9482
case "test_codemods_parse":
95-
to_test = {name: repo for name, repo in repos.items()}
83+
excluded_repos = {"typeshed", "plone", "papermark", "vscode"} # TODO(CG-10655): fix these reps
84+
to_test = {name: repo for name, repo in repos.items() if name not in excluded_repos}
9685
metafunc.parametrize(
9786
"repo",
9887
[pytest.param(repo, marks=pytest.mark.xdist_group(repo.name)) for repo in to_test.values()],

0 commit comments

Comments
 (0)