@@ -169,38 +169,6 @@ def test_table_properties_error(catalog: Catalog) -> None:
169169 assert "Cannot pass both properties and kwargs" in str (e .value )
170170
171171
172- @pytest .mark .integration
173- @pytest .mark .parametrize ('catalog' , [pytest .lazy_fixture ('catalog_hive' ), pytest .lazy_fixture ('catalog_rest' )])
174- def test_table_properties_dict (catalog : Catalog ) -> None :
175- table = create_table (catalog )
176-
177- assert table .properties == DEFAULT_PROPERTIES
178-
179- with table .transaction () as transaction :
180- transaction .set_properties ({"abc" : "🤪" })
181- assert table .properties == dict ({"abc" : "🤪" }, ** DEFAULT_PROPERTIES )
182-
183- with table .transaction () as transaction :
184- transaction .remove_properties ("abc" )
185- assert table .properties == DEFAULT_PROPERTIES
186-
187- table = table .transaction ().set_properties ({"abc" : "def" }).commit_transaction ()
188- assert table .properties == dict ({"abc" : "def" }, ** DEFAULT_PROPERTIES )
189-
190- table = table .transaction ().remove_properties ("abc" ).commit_transaction ()
191- assert table .properties == DEFAULT_PROPERTIES
192-
193-
194- @pytest .mark .integration
195- @pytest .mark .parametrize ('catalog' , [pytest .lazy_fixture ('catalog_hive' ), pytest .lazy_fixture ('catalog_rest' )])
196- def test_table_properties_error (catalog : Catalog ) -> None :
197- table = create_table (catalog )
198- properties = {"abc" : "def" }
199- with pytest .raises (ValueError ) as e :
200- table .transaction ().set_properties (properties , abc = "def" ).commit_transaction ()
201- assert "Cannot pass both properties and kwargs" in str (e .value )
202-
203-
204172@pytest .mark .integration
205173@pytest .mark .parametrize ('catalog' , [pytest .lazy_fixture ('catalog_hive' ), pytest .lazy_fixture ('catalog_rest' )])
206174def test_pyarrow_nan (catalog : Catalog ) -> None :
0 commit comments