Remove tmp folder when run unit test (#57800)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/57799
Remove tmp folder when run cpp_api_parity test cases one by one.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57800
Reviewed By: mruberry
Differential Revision: D28303956
Pulled By: ngimel
fbshipit-source-id: ec313d0c14ae432bc3862988eb00742810ef53e2