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

Method test_token_value_non_ascii

Lib/test/test_netrc.py:147–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

145 """, 'account', 'acc t')
146
147 def test_token_value_non_ascii(self):
148 self._test_token_x("""\
149 machine host.domain.com login \xa1\xa2 password pass account acct
150 """, 'login', '\xa1\xa2')
151 self._test_token_x("""\
152 machine host.domain.com login log password pass account \xa1\xa2
153 """, 'account', '\xa1\xa2')
154 self._test_token_x("""\
155 machine host.domain.com login log password \xa1\xa2 account acct
156 """, 'password', '\xa1\xa2')
157
158 def test_token_value_leading_hash(self):
159 self._test_token_x("""\

Callers

nothing calls this directly

Calls 1

_test_token_xMethod · 0.95

Tested by

no test coverage detected