Skip to content

Commit

Permalink
clean up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
romainkomorndatadog committed Feb 15, 2024
1 parent d9b0b6a commit c53be90
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ddtrace/contrib/pytest/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def _check_failed(item):

def _mark_not_skipped(item):
"""Mark test suite/module/session `pytest.Item` as not skipped."""
print("ROMAIN SAYS MARK NOT SKIPPED %s" % item)
item_parent = _get_parent(item)
if item_parent:
_mark_not_skipped(item_parent)
Expand Down Expand Up @@ -231,8 +230,6 @@ def _mark_test_status(item, span):
"""
Given a `pytest.Item`, determine and set the test status of the corresponding span.
"""
print(f"ROMAIN SAYS marking item: {item}, parent: {item.parent}, parent type: {type(item.parent)}")

item_parent = _get_parent(item)

# If any child has failed, mark span as failed.
Expand Down Expand Up @@ -267,7 +264,6 @@ def _get_pytest_command(config):
def _get_module_path(item):
"""Extract module path from a `pytest.Item` instance."""
# type (pytest.Item) -> str
# breakpoint()
if not isinstance(item, (pytest.Package, pytest.Module)):
return None

Expand Down

0 comments on commit c53be90

Please sign in to comment.