@@ -107,20 +107,16 @@ def test_table_properties(catalog: Catalog) -> None:
107107
108108 with table .transaction () as transaction :
109109 transaction .set_properties (abc = "🤪" )
110-
111110 assert table .properties == dict (abc = "🤪" , ** DEFAULT_PROPERTIES )
112111
113112 with table .transaction () as transaction :
114113 transaction .remove_properties ("abc" )
115-
116114 assert table .properties == DEFAULT_PROPERTIES
117115
118116 table = table .transaction ().set_properties (abc = "def" ).commit_transaction ()
119-
120117 assert table .properties == dict (abc = "def" , ** DEFAULT_PROPERTIES )
121118
122119 table = table .transaction ().remove_properties ("abc" ).commit_transaction ()
123-
124120 assert table .properties == DEFAULT_PROPERTIES
125121
126122
@@ -133,22 +129,21 @@ def test_table_properties_dict(catalog: Catalog) -> None:
133129
134130 with table .transaction () as transaction :
135131 transaction .set_properties ({"abc" : "🤪" })
136-
137132 assert table .properties == dict ({"abc" : "🤪" }, ** DEFAULT_PROPERTIES )
138133
139134 with table .transaction () as transaction :
140135 transaction .remove_properties ("abc" )
141-
142136 assert table .properties == DEFAULT_PROPERTIES
143137
144138 table = table .transaction ().set_properties ({"abc" : "def" }).commit_transaction ()
145-
146139 assert table .properties == dict ({"abc" : "def" }, ** DEFAULT_PROPERTIES )
147140
148141 table = table .transaction ().remove_properties ("abc" ).commit_transaction ()
149-
150142 assert table .properties == DEFAULT_PROPERTIES
151143
144+ table = table .transaction ().set_properties ({"abc" : 123 }).commit_transaction ()
145+ assert table .properties == dict (abc = 123 , ** DEFAULT_PROPERTIES )
146+
152147
153148@pytest .mark .integration
154149@pytest .mark .parametrize ('catalog' , [pytest .lazy_fixture ('catalog_hive' ), pytest .lazy_fixture ('catalog_rest' )])
0 commit comments