Skip to content

Commit f425a40

Browse files
committed
Remove Outdated Build Hook
1 parent 2b2dff2 commit f425a40

File tree

5 files changed

+4
-34
lines changed

5 files changed

+4
-34
lines changed

cppython/test/pytest/fixtures.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -286,18 +286,3 @@ def fixture_project(
286286
"""
287287
tool = ToolData(cppython=cppython_local_configuration.configuration)
288288
return PyProject(project=pep621_configuration.configuration, tool=tool)
289-
290-
291-
def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
292-
"""Provides custom parameterization for dynamic fixture names.
293-
294-
Args:
295-
metafunc: Pytest hook data
296-
"""
297-
for fixture in metafunc.fixturenames:
298-
match fixture.split('_', 1):
299-
case ['build', directory]:
300-
# Parametrizes the paths under tests/build/<directory> where <directory> is the fixture suffix
301-
302-
build_data_path = metafunc.config.rootpath / 'tests' / 'build' / directory
303-
metafunc.parametrize(fixture, [build_data_path], scope='session')

tests/build/cmake/non-root/inner/CMakePresets.json

Whitespace-only changes.

tests/build/test_build/build.txt

Whitespace-only changes.

tests/integration/examples/test_examples.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Example folder tests"""
1+
"""Example folder tests.
2+
3+
All examples can be run with the CPPython entry-point, and we use the examples as the test data for the CLI.
4+
"""
25

36
import shutil
47
from pathlib import Path

tests/unit/test/test_fixtures.py

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

0 commit comments

Comments
 (0)