Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Nov 11, 2023
1 parent 02b063b commit 1e9393a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
import pytest
import threading

DEBUGGER_ID = sys.monitoring.DEBUGGER_ID
monitor = sys.monitoring
pytestmark = pytest.mark.skipif(not hasattr(sys, 'monitoring'), reason='Requires sys.monitoring')

if hasattr(sys, 'monitoring'):
DEBUGGER_ID = sys.monitoring.DEBUGGER_ID
monitor = sys.monitoring


def _disable_monitoring():
Expand Down

0 comments on commit 1e9393a

Please sign in to comment.