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

Method test_control_characters

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

Source from the content-addressed store, hash-verified

397 self.assertIsNone(self.client.file)
398
399 def test_control_characters(self):
400 for c0 in control_characters_c0():
401 with self.assertRaises(ValueError):
402 self.client.user(f'user{c0}')
403 with self.assertRaises(ValueError):
404 self.client.pass_(f'{c0}pass')
405
406 @requires_ssl
407 def test_stls_capa(self):

Callers

nothing calls this directly

Calls 4

control_characters_c0Function · 0.90
userMethod · 0.80
pass_Method · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected