Open chdsbd opened 5 years ago
I suspect this is related to the stdout replacement at https://github.com/facebookincubator/Bowler/blob/master/bowler/tests/lib.py#L31 -- can you try restoring the write
method? (Additionally, there may be further buffering in unittest itself, try something like sys.stdout=os.open(1, "w")
)
If you give me a couple of days I can try to reproduce this directly.
Currently it doesn't appear possible to set a breakpoint with
import pdb; pdb.set_trace()
in aBowlerTestCase
. It looks likein_process
is set to true when calling the modifier, but I still get a traceback when I attempt to use a debugger in the modifier.I think it could be helpful to support using pdb in test cases.