Skip to content

Commit 86a4736

Browse files
committed
fix long line
1 parent 243c007 commit 86a4736

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/hyperlink/test/common.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ class HyperlinkTestCase(TestCase):
77
assertRaises method for Python 2.6 testing.
88
"""
99
def assertRaises( # type: ignore[override]
10-
self, expected_exception, callableObj=None, *args, **kwargs
10+
self,
11+
expected_exception, # type: Type[BaseException]
12+
callableObj=None, # type: Optional[Callable[..., Any]]
13+
*args, # type: Any
14+
**kwargs # type: Any
1115
):
12-
# type: (Type[BaseException], Optional[Callable[..., Any]], Any, Any) -> Any
16+
# type: (...) -> Any
1317
"""Fail unless an exception of class expected_exception is raised
1418
by callableObj when invoked with arguments args and keyword
1519
arguments kwargs. If a different type of exception is

0 commit comments

Comments
 (0)