()
| 234 | |
| 235 | |
| 236 | def test_make_compound_path_stops(): |
| 237 | zero = [0, 0] |
| 238 | paths = 3*[Path([zero, zero], [Path.MOVETO, Path.STOP])] |
| 239 | compound_path = Path.make_compound_path(*paths) |
| 240 | # the choice to not preserve the terminal STOP is arbitrary, but |
| 241 | # documented, so we test that it is in fact respected here |
| 242 | assert np.sum(compound_path.codes == Path.STOP) == 0 |
| 243 | |
| 244 | |
| 245 | @image_comparison(['xkcd.png'], remove_text=True, style='_classic_test') |
nothing calls this directly
no test coverage detected
searching dependent graphs…