MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_non_ascii

Method test_non_ascii

Lib/test/test_cmd_line.py:207–211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205
206 @unittest.skipUnless(os_helper.FS_NONASCII, 'need os_helper.FS_NONASCII')
207 def test_non_ascii(self):
208 # Test handling of non-ascii data
209 command = ("assert(ord(%r) == %s)"
210 % (os_helper.FS_NONASCII, ord(os_helper.FS_NONASCII)))
211 assert_python_ok('-c', command)
212
213 @unittest.skipUnless(os_helper.FS_NONASCII, 'need os_helper.FS_NONASCII')
214 def test_coding(self):

Callers

nothing calls this directly

Calls 2

assert_python_okFunction · 0.90
ordFunction · 0.85

Tested by

no test coverage detected