We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7dce4 commit 9c854e1Copy full SHA for 9c854e1
tests/__init__.py
@@ -31,6 +31,7 @@ def _enter_pr_4800(self):
31
32
# workaround for https://bugs.python.org/issue29620
33
try:
34
- unittest.case._AssertWarnsContext.__enter__ = _enter_pr_4800
+ # Suppression for issue #494: tests/__init__.py:34: error: Cannot assign to a method
35
+ unittest.case._AssertWarnsContext.__enter__ = _enter_pr_4800 # type: ignore
36
except AttributeError:
37
pass
0 commit comments