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

Method test_utf8

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

utf8Method · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected