Skip to content

Commit

Permalink
fix prints
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Oct 10, 2024
1 parent ba1b909 commit e32ee90
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python_files/vscode_pytest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def pytest_internalerror(excrepr, excinfo): # noqa: ARG001
excinfo -- the exception information of type ExceptionInfo.
"""
# call.excinfo.exconly() returns the exception as a string.
print("UGHHHHHH2")
ERRORS.append(excinfo.exconly() + "\n Check Python Test Logs for more details.")


Expand All @@ -139,7 +138,6 @@ def pytest_exception_interact(node, call, report):
# call.excinfo is the captured exception of the call, if it raised as type ExceptionInfo.
# call.excinfo.exconly() returns the exception as a string.
# If it is during discovery, then add the error to error logs.
print("UGHHHHHH23")

if IS_DISCOVERY:
if call.excinfo and call.excinfo.typename != "AssertionError":
Expand Down Expand Up @@ -945,10 +943,6 @@ def pytest_xdist_auto_num_workers(


def pytest_plugin_registered(plugin: object, manager: pytest.PytestPluginManager):
# if manager.has_plugin("pytest_cov"):
# print("has plugin cov pytest")
# else:
# print("does not have plugin cov pytest")
plugin_name = "vscode_xdist"
if (
# only register the plugin if xdist is enabled:
Expand Down

0 comments on commit e32ee90

Please sign in to comment.