Skip to content

Commit 711c2d5

Browse files
authored
Merge pull request #11 from JetBrains-Research/delete-kt-files
Delete kt files
2 parents 8f71000 + a27aa43 commit 711c2d5

2 files changed

Lines changed: 0 additions & 45 deletions

File tree

src/test/python/pythonparser/test_pythonparser_3.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -66,38 +66,6 @@ def test_produce_valid_xml(self, cases_dirs: str) -> None:
6666
except ET.ParseError as e:
6767
pytest.fail(f'test file: {entry.path}, ET.ParseError msg: {e}')
6868

69-
@pytest.mark.parametrize(
70-
'test_input_dirs',
71-
[
72-
os.path.join(_input_dir, 'case_non_valid_python_code')
73-
]
74-
)
75-
def test_non_valid_python_code(self, test_input_dirs: str) -> None:
76-
"""
77-
Checks behaviour on non valid python code inputs.
78-
Expected behaviour: SyntaxError is thrown during parsing
79-
"""
80-
for entry in os.scandir(test_input_dirs):
81-
# print(f'Current entry is: {entry.path}') TODO: remove or add logger instead
82-
with pytest.raises(SyntaxError):
83-
_ = parse_file(entry.path)
84-
85-
@pytest.mark.parametrize(
86-
'test_input_dirs',
87-
[
88-
os.path.join(_input_dir, 'case_non_valid_python_code')
89-
]
90-
)
91-
def test_non_valid_python_code(self, test_input_dirs: str) -> None:
92-
"""
93-
Checks behaviour on non valid python code inputs.
94-
Expected behaviour: SyntaxError is thrown during parsing
95-
"""
96-
for entry in os.scandir(test_input_dirs):
97-
# print(f'Current entry is: {entry.path}') TODO: remove or add logger instead
98-
with pytest.raises(SyntaxError):
99-
_ = parse_file(entry.path)
100-
10169
@staticmethod
10270
@pytest.fixture(scope='function',
10371
params=[

src/test/resources/pythonparser/pythonparser_3/case_non_valid_python_code/non_valid_python_code.kt

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)