We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6074a8f commit b76b2afCopy full SHA for b76b2af
stdlib/unittest/case.pyi
@@ -126,9 +126,9 @@ class TestCase:
126
@overload
127
def assertLess(self, a: _T, b: SupportsDunderGT[_T], msg: Any = None) -> None: ...
128
129
- def assertLessEqual(self, a: SupportsDunderLT[_T], b: _T, msg: Any = None) -> None: ...
+ def assertLessEqual(self, a: SupportsDunderLE[_T], b: _T, msg: Any = None) -> None: ...
130
131
- def assertLessEqual(self, a: _T, b: SupportsDunderGT[_T], msg: Any = None) -> None: ...
+ def assertLessEqual(self, a: _T, b: SupportsDunderGE[_T], msg: Any = None) -> None: ...
132
# `assertRaises`, `assertRaisesRegex`, and `assertRaisesRegexp`
133
# are not using `ParamSpec` intentionally,
134
# because they might be used with explicitly wrong arg types to raise some error in tests.
0 commit comments