Lines Matching refs:_TestClass
1150 >>> tests = DocTestFinder().find(_TestClass)
1155 _TestClass -> TestResults(failed=0, attempted=2)
1156 _TestClass.__init__ -> TestResults(failed=0, attempted=2)
1157 _TestClass.get -> TestResults(failed=0, attempted=2)
1158 _TestClass.square -> TestResults(failed=0, attempted=1)
1166 2 tests in _TestClass
1167 2 tests in _TestClass.__init__
1168 2 tests in _TestClass.get
1169 1 tests in _TestClass.square
2670 class _TestClass:
2678 >>> _TestClass(13).get() + _TestClass(-12).get()
2680 >>> hex(_TestClass(13).square().get())
2685 """val -> _TestClass object with associated value val.
2687 >>> t = _TestClass(123)
2697 >>> _TestClass(13).square().get()
2707 >>> x = _TestClass(-42)
2714 __test__ = {"_TestClass": _TestClass,