pytest: fix warnings from using non-collections

This commit is contained in:
Andrej730
2026-08-10 18:16:52 +05:00
parent ce9e2b94d5
commit 77dc679a6e
3 changed files with 3 additions and 3 deletions
@@ -25,7 +25,7 @@ import ifcopenshell.util.unit
UNITS_FIXTURE_DIR = pathlib.Path(__file__).parent.parent / "fixtures" / "units"
@pytest.mark.parametrize("ifc_file", UNITS_FIXTURE_DIR.glob("*.ifc"))
@pytest.mark.parametrize("ifc_file", tuple(UNITS_FIXTURE_DIR.glob("*.ifc")))
def test_file_units_length_convert(ifc_file: str):
f = ifcopenshell.open(ifc_file)