Closed Gerrrr closed 8 years ago
@@ master #108 diff @@
====================================
Files 24 24
Lines 437 437
Methods 421 421
Messages 0 0
Branches 16 16
====================================
Hits 437 437
Misses 0 0
Partials 0 0
Powered by Codecov. Last update c89d664...52a7933
LGTM @Gerrrr. Did you test it? Can you put a screenshot?
PyDDQ in Jupyter: https://yadi.sk/i/URVVvQlVuExRi For the terminal and Zeppelin nothing was changed.
Problem
Running the examples from the
README.md
would not work in iPython.Solution
With this PR, if the reporter is not specified in the
Check.run
call,ConsoleReporter
is used by default. Its output is written intoByteArrayOutputStream
and then printed. Sinceprint
function is used, it will output correctly to the overwrittensys.stdout
's. For example, it will work in Jupyter with itsIPython.kernel.zmq.iostream.OutStream
used asstdout
.