MCPcopy Index your code
hub / github.com/python/cpython / test_expr_bignum

Method test_expr_bignum

Lib/test/test_tcl.py:484–493  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

482 check('1 > 2', False)
483
484 def test_expr_bignum(self):
485 tcl = self.interp
486 for i in self.get_integers():
487 result = tcl.call('expr', str(i))
488 if self.wantobjects:
489 self.assertEqual(result, i)
490 self.assertIsInstance(result, int)
491 else:
492 self.assertEqual(result, str(i))
493 self.assertIsInstance(result, str)
494
495 def test_passing_values(self):
496 passValue = self.passValue

Callers

nothing calls this directly

Calls 5

get_integersMethod · 0.95
strFunction · 0.85
assertIsInstanceMethod · 0.80
callMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected