fix #36801 (#41607)
Summary:
unittest actually did stdout testname like (test_accumulate_grad (__main__.TestAutograd) ... ) first befor test start running. export PYTHONUNBUFFERED=1 or python -u could record this msg. ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41607
Reviewed By: izdeby
Differential Revision: D22673930
Pulled By: ezyang
fbshipit-source-id: 18512b6f5f80485c2b0d812f2ebdecc1fdc4b4ec