Skip to content

Commit c8a3842

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7f3bec7 commit c8a3842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/unittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class TwistedVersion(Enum):
405405

406406

407407
def _get_twisted_version() -> TwistedVersion:
408-
# We need to check if "twisted.trial.unittest" is specifically present in sys.modules.
408+
# We need to check if "twisted.trial.unittest" is specifically present in sys.modules.
409409
# 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.
410410
if "twisted.trial.unittest" not in sys.modules:
411411
return TwistedVersion.NotInstalled

0 commit comments

Comments
 (0)