Skip to content

Commit d871eed

Browse files
committed
Replace assertDictContainsSubset by assertEqual
assertDictContainsSubset was removed at python 3.12 we need to replace it with assertEqual
1 parent ba4e804 commit d871eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/cqlengine/management/test_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def test_table_property_update(self):
254254

255255
table_options = management._get_table_metadata(ModelWithTableProperties).options
256256

257-
self.assertDictContainsSubset(ModelWithTableProperties.__options__, table_options)
257+
self.assertEqual(table_options, table_options | ModelWithTableProperties.__options__)
258258

259259
def test_bogus_option_update(self):
260260
sync_table(ModelWithTableProperties)

0 commit comments

Comments
 (0)