@@ -865,7 +865,6 @@ def assert_datetime_about_now_utc(actual, msg_fmt="{msg}"):
865865
866866
867867class AssertRaisesContext (object ):
868-
869868 """A context manager to test for exceptions with certain properties.
870869
871870 When the context is left and no exception has been raised, an
@@ -948,7 +947,6 @@ def exc_val(self):
948947
949948
950949class AssertRaisesRegexContext (AssertRaisesContext ):
951-
952950 """A context manager to test for exceptions and their messages."""
953951
954952 def __init__ (self , exception , pattern , msg_fmt = "{msg}" ):
@@ -966,7 +964,6 @@ def format_message(self, default_msg):
966964
967965
968966class AssertRaisesErrnoContext (AssertRaisesContext ):
969-
970967 """A context manager to test for exceptions with errnos."""
971968
972969 def __init__ (self , exception , expected_errno , msg_fmt = "{msg}" ):
@@ -1161,7 +1158,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):
11611158
11621159
11631160class AssertWarnsContext (object ):
1164-
11651161 """A context manager to test for warnings with certain properties.
11661162
11671163 When the context is left and the expected warning has not been raised, an
@@ -1231,7 +1227,6 @@ class was issued. The callback will get the issued warning as only
12311227
12321228
12331229class AssertWarnsRegexContext (AssertWarnsContext ):
1234-
12351230 """A context manager to test for warnings and their messages."""
12361231
12371232 def __init__ (self , warning_class , pattern , msg_fmt = "{msg}" ):
0 commit comments