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

Method test_ascii

Lib/test/test_curses.py:1310–1314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1308 self.assertFalse(curses.ascii.ismeta(-1))
1309
1310 def test_ascii(self):
1311 ascii = curses.ascii.ascii
1312 self.assertEqual(ascii('\xc1'), 'A')
1313 self.assertEqual(ascii('A'), 'A')
1314 self.assertEqual(ascii(ord('\xc1')), ord('A'))
1315
1316 def test_ctrl(self):
1317 ctrl = curses.ascii.ctrl

Callers

nothing calls this directly

Calls 2

asciiFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected