diff --git a/python/cudf/cudf/pandas/scripts/conftest-patch.py b/python/cudf/cudf/pandas/scripts/conftest-patch.py index 05b42ecc610..aefd640fb5c 100644 --- a/python/cudf/cudf/pandas/scripts/conftest-patch.py +++ b/python/cudf/cudf/pandas/scripts/conftest-patch.py @@ -53,7 +53,7 @@ def find_pytest_file(frame): if "pandas-testing/pandas-tests/tests" in file and file.rsplit("/", 1)[ -1 ].startswith("test_"): - return str(file).rsplit("pandas-testing/", 1)[-1] + return str(file).rsplit("pandas-tests/", 1)[-1] return None