(self, want, got, optionflags)
| 18 | empty_line_markers = ['<matplotlib.', '<mpl_toolkits.mplot3d.'] |
| 19 | class SkipMatplotlibOutputChecker(doctest.OutputChecker): |
| 20 | def check_output(self, want, got, optionflags): |
| 21 | for marker in empty_line_markers: |
| 22 | if marker in got: |
| 23 | got = '' |
| 24 | break |
| 25 | return OutputChecker.check_output(self, want, got, optionflags) |
| 26 | |
| 27 | |
| 28 | doctest.OutputChecker = SkipMatplotlibOutputChecker |
no outgoing calls
no test coverage detected