Make test_no_error_swallowing() OS-agnostic

Use os.path.join() rather than having '/' hard-coded into the file path.