You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/_pytest/unittest.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -405,8 +405,8 @@ class TwistedVersion(Enum):
405
405
406
406
407
407
def_get_twisted_version() ->TwistedVersion:
408
-
# Check `"twisted.trial.unittest` is in sys.modules to ensure that Twisted is installed
409
-
# being used to run the test suite.
408
+
# We need to check if "twisted.trial.unittest" is specifically present in sys.modules.
409
+
# This is because we intend to integrate with Trial only when it's actively running the test suite, but not needed when only other Twisted components are in use.
0 commit comments