MCPcopy Index your code
hub / github.com/numpy/numpy / check_output

Method check_output

doc/conftest.py:20–25  ·  view source on GitHub ↗
(self, want, got, optionflags)

Source from the content-addressed store, hash-verified

18empty_line_markers = ['<matplotlib.', '<mpl_toolkits.mplot3d.']
19class 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
28doctest.OutputChecker = SkipMatplotlibOutputChecker

Callers 8

assert_features_equalFunction · 0.80
load_flags_auxvMethod · 0.80
_get_platformMethod · 0.80
test_f2pyFunction · 0.80
test_pep338Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected