I have a pytest function which calls another python script first and then compares the csv generated from python script and my expected csv. I am using pathlib.Path().absolute()