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

Method test_new

Lib/test/test_xxlimited.py:41–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 self.assertEqual(custom_string.upper(), "ABCD")
40
41 def test_new(self):
42 xxo = self.module.new()
43 self.assertEqual(xxo.demo("abc"), "abc")
44
45
46class TestXXLimited(CommonTests, unittest.TestCase):

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected