(self)
| 1215 | assert normal_cache.is_changed(path) |
| 1216 | |
| 1217 | def test_pipe_force_py36(self) -> None: |
| 1218 | source, expected = read_data("miscellaneous", "force_py36") |
| 1219 | result = BlackRunner().invoke( |
| 1220 | black.main, |
| 1221 | ["-", "-q", "--target-version=py36"], |
| 1222 | input=BytesIO(source.encode("utf-8")), |
| 1223 | ) |
| 1224 | self.assertEqual(result.exit_code, 0) |
| 1225 | actual = result.output |
| 1226 | self.assertFormatEqual(actual, expected) |
| 1227 | |
| 1228 | @pytest.mark.incompatible_with_mypyc |
| 1229 | def test_reformat_one_with_stdin(self) -> None: |
nothing calls this directly
no test coverage detected