(self)
| 352 | |
| 353 | class AuthenticationString(bytes): |
| 354 | def __reduce__(self): |
| 355 | from .context import get_spawning_popen |
| 356 | if get_spawning_popen() is None: |
| 357 | raise TypeError( |
| 358 | 'Pickling an AuthenticationString object is ' |
| 359 | 'disallowed for security reasons' |
| 360 | ) |
| 361 | return AuthenticationString, (bytes(self),) |
| 362 | |
| 363 | |
| 364 | # |
nothing calls this directly
no test coverage detected