hdmf.testing.utils module

hdmf.testing.utils.remove_test_file(path)

A helper function for removing intermediate test files

This checks if the environment variable CLEAN_HDMF has been set to False before removing the file. If CLEAN_HDMF is set to False, it does not remove the file.