https://pantsbuild.org/ logo
f

fresh-architect-74417

04/26/2019, 10:07 PM
I had this in my unittest, and I got pants internal error because I didn't clean up after it.
Copy code
mock.patch('builtins.open', new_callable=mock.mock_open, read_data=_FAKE_BUILD_FILE)