Remove the testing package from a file that is not a test file.