Currently, I'm playing around with absolute and relative imports for my tests. Below is the example of the file structure.
File Structure:
project/
        main_script.py
        input1.csv
        input2.csv
        
        Testing/
                test_script.py
                test_input1.csv
                test_input2.csv
                test_output.csv
Code in main_script.py
def function1():
    {function definition here}
def function2():
    {function definition here}
def function3():
    {function definition here}
Code in test_script.py
import pytest 
from ..main_script import function1, function2, function3
The output I get when running test_script:
ImportError: attempted relative import with no known parent package
From the examples I've read from different sources and tutorials I have watched, this should have been the solution to my problem but it's coming out with more errors. Why is that?