def testdir():
    # WARNING: Ugly ugly ugly!
    # find the path where this file is
    return os.path.split(__file__)[0]
The directory where the tests and data files reside.
dataset/ETHPy150Open jabl/vasputil/vasputil/tests/test_supercell.py/testdir