Skip to content

Commit

Permalink
Add type annotations to load_tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Dec 6, 2024
1 parent 4fb1788 commit 89e8f03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion comtypes/test/test_showevents.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import doctest
import unittest
from typing import Optional


def load_tests(loader, tests, ignore):
def load_tests(
loader: unittest.TestLoader, tests: unittest.TestSuite, pattern: Optional[str]
) -> unittest.TestSuite:
import comtypes.test.test_showevents

tests.addTests(doctest.DocTestSuite(comtypes.test.test_showevents))
Expand Down

0 comments on commit 89e8f03

Please sign in to comment.