Home | History | Annotate | Download | only in python2.7

Lines Matching refs:_TestClass

1087         >>> tests = DocTestFinder().find(_TestClass)
1092 _TestClass -> TestResults(failed=0, attempted=2)
1093 _TestClass.__init__ -> TestResults(failed=0, attempted=2)
1094 _TestClass.get -> TestResults(failed=0, attempted=2)
1095 _TestClass.square -> TestResults(failed=0, attempted=1)
1103 2 tests in _TestClass
1104 2 tests in _TestClass.__init__
1105 2 tests in _TestClass.get
1106 1 tests in _TestClass.square
2671 class _TestClass:
2679 >>> _TestClass(13).get() + _TestClass(-12).get()
2681 >>> hex(_TestClass(13).square().get())
2686 """val -> _TestClass object with associated value val.
2688 >>> t = _TestClass(123)
2698 >>> _TestClass(13).square().get()
2708 >>> x = _TestClass(-42)
2715 __test__ = {"_TestClass": _TestClass,