Skip to content

Commit 0641261

Browse files
NO-SNOW rename integration tests subfolders to avoid module import ambiguity (#2364)
1 parent 38d1b2d commit 0641261

15 files changed

+2
-0
lines changed

test/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ def pytest_collection_modifyitems(items) -> None:
7676
item_path = Path(str(item.fspath)).parent
7777
relative_path = item_path.relative_to(top_test_dir)
7878
for part in relative_path.parts:
79+
if part.endswith("_it"):
80+
part = part[:-3]
7981
item.add_marker(part)
8082
if part in ("unit", "pandas"):
8183
item.add_marker("skipolddriver")
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)