(*args, **kwargs)
| 19 | if PY2: |
| 20 | @wraps(namefunc) |
| 21 | def adjust_encoding(*args, **kwargs): |
| 22 | name = namefunc(*args, **kwargs) |
| 23 | if name is not None: |
| 24 | name = name.encode() |
| 25 | |
| 26 | return name |
| 27 | |
| 28 | return adjust_encoding |
| 29 | else: |
nothing calls this directly
no outgoing calls
no test coverage detected