Make sure STDOUT and STDERR are kept separate when testing Black via its CLI.
| 106 | |
| 107 | |
| 108 | class BlackRunner(_CliRunner): |
| 109 | """Make sure STDOUT and STDERR are kept separate when testing Black via its CLI.""" |
| 110 | |
| 111 | def __init__(self) -> None: |
| 112 | if Version(imp_version("click")) >= Version("8.2.0"): |
| 113 | super().__init__() |
| 114 | else: |
| 115 | super().__init__(mix_stderr=False) # type: ignore |
| 116 | |
| 117 | |
| 118 | def invokeBlack( |
no outgoing calls