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

Method test_utf8

Lib/test/test_poplib.py:382–386  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

380 self.assertRaises(poplib.error_proto, self.client.utf8)
381
382 def test_utf8(self):
383 self.server.handler.enable_UTF8 = True
384 expected = b'+OK I know RFC6856'
385 result = self.client.utf8()
386 self.assertEqual(result, expected)
387
388 def test_capa(self):
389 capa = self.client.capa()

Callers

nothing calls this directly

Calls 2

utf8Method · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected