diff --git a/tests/examples/conftest.py b/tests/examples/conftest.py index bc0d3bff..4d3d85ee 100644 --- a/tests/examples/conftest.py +++ b/tests/examples/conftest.py @@ -68,22 +68,6 @@ def pytest_generate_tests(metafunc): name += f' {index}' ids.append(name) examples.append(Example(name, code, path, files[last_header])) - if isinstance(child, marko.block.HTMLBlock): - # parse tftest blocks from HTML blocks comment (user by - # blueprints to test without having to create wrapper - # modules) - code = child.children - if code.startswith('\n') - if index > 1: - name += f' {index}' - ids.append(name) - # TODO: examples in HTML comment blocks can't use - # tftest-file - examples.append(Example(name, code, path, {})) elif isinstance(child, marko.block.Heading): last_header = child.children[0].children index = 0