diff --git a/src/ifc5d/test/test_csv2ifc.py b/src/ifc5d/test/test_csv2ifc.py index 7f6a8ebfd3..845d9f6d19 100644 --- a/src/ifc5d/test/test_csv2ifc.py +++ b/src/ifc5d/test/test_csv2ifc.py @@ -65,7 +65,7 @@ class TestCsv2Ifc: all_nested_items = [i for item in root_items for i in ifcopenshell.util.cost.get_all_nested_cost_items(item)] assert len(all_nested_items + root_items) == len(all_cost_items) - @pytest.mark.parametrize("csv_filepath", Path(__file__).parent.parent.glob("*.csv")) + @pytest.mark.parametrize("csv_filepath", tuple(Path(__file__).parent.parent.glob("*.csv"))) def test_import_sample_files(self, csv_filepath: Path): ifc_file = self.setup_ifc_file() ifcopenshell.api.root.create_entity(ifc_file, ifc_class="IfcProject") diff --git a/src/ifcopenshell-python/test/test_file_gc.py b/src/ifcopenshell-python/test/test_file_gc.py index 59b5338ce9..44181a410f 100644 --- a/src/ifcopenshell-python/test/test_file_gc.py +++ b/src/ifcopenshell-python/test/test_file_gc.py @@ -17,7 +17,7 @@ import ifcopenshell.template @pytest.mark.skip(reason="Current file retention is not automatic anymore if a single instance is alive") @pytest.mark.parametrize( "args", - itertools.product((0, 1), (0, 1), (0, 1), (0, 1, 2)), + tuple(itertools.product((0, 1), (0, 1), (0, 1), (0, 1, 2))), ) def test_file_gc(args): do_run_api, do_delete_ref, file_first, api = args diff --git a/src/ifcopenshell-python/test/util/test_unit_conversion.py b/src/ifcopenshell-python/test/util/test_unit_conversion.py index a3c8b702ef..62eabd56bd 100644 --- a/src/ifcopenshell-python/test/util/test_unit_conversion.py +++ b/src/ifcopenshell-python/test/util/test_unit_conversion.py @@ -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)