That now runs ok (once I also specified the module in the unittest.main() call).
Next dumb question: How do I get the output to appear?
The docs seem to suggest it should work:
main supports being used from the interactive interpreter by passing in the argument exit=False. This displays the result on standard output without calling sys.exit()
but I’m not seeing anything.
I added a simple print
statement into the test method so I can be certain it’s being run and that shows up in the output just fine.
Is this a buffering problem now that the exit=False
argument is used, I wonder?