(self)
| 1167 | assert normal_cache.is_changed(path) |
| 1168 | |
| 1169 | def test_pipe_force_pyi(self) -> None: |
| 1170 | source, expected = read_data("miscellaneous", "force_pyi") |
| 1171 | result = BlackRunner().invoke( |
| 1172 | black.main, ["-", "-q", "--pyi"], input=BytesIO(source.encode("utf-8")) |
| 1173 | ) |
| 1174 | self.assertEqual(result.exit_code, 0) |
| 1175 | actual = result.output |
| 1176 | self.assertFormatEqual(actual, expected) |
| 1177 | |
| 1178 | def test_single_file_force_py36(self) -> None: |
| 1179 | reg_mode = DEFAULT_MODE |
nothing calls this directly
no test coverage detected