@@ -157,7 +157,7 @@ def test_create_columns():
157157 assert index ._column_infos ['id' ].docarray_type == ID
158158 assert index ._column_infos ['id' ].db_type == str
159159 assert index ._column_infos ['id' ].n_dim is None
160- assert index ._column_infos ['id' ].config == { 'hi' : ' there'}
160+ assert index ._column_infos ['id' ].config [ 'hi' ] == ' there'
161161
162162 assert issubclass (index ._column_infos ['tens' ].docarray_type , AbstractTensor )
163163 assert index ._column_infos ['tens' ].db_type == str
@@ -171,7 +171,7 @@ def test_create_columns():
171171 assert index ._column_infos ['id' ].docarray_type == ID
172172 assert index ._column_infos ['id' ].db_type == str
173173 assert index ._column_infos ['id' ].n_dim is None
174- assert index ._column_infos ['id' ].config == { 'hi' : ' there'}
174+ assert index ._column_infos ['id' ].config [ 'hi' ] == ' there'
175175
176176 assert issubclass (index ._column_infos ['tens_one' ].docarray_type , AbstractTensor )
177177 assert index ._column_infos ['tens_one' ].db_type == str
@@ -190,7 +190,7 @@ def test_create_columns():
190190 assert index ._column_infos ['id' ].docarray_type == ID
191191 assert index ._column_infos ['id' ].db_type == str
192192 assert index ._column_infos ['id' ].n_dim is None
193- assert index ._column_infos ['id' ].config == { 'hi' : ' there'}
193+ assert index ._column_infos ['id' ].config [ 'hi' ] == ' there'
194194
195195 assert issubclass (index ._column_infos ['d__tens' ].docarray_type , AbstractTensor )
196196 assert index ._column_infos ['d__tens' ].db_type == str
@@ -214,7 +214,7 @@ def test_create_columns():
214214 assert index ._subindices ['d' ]._column_infos ['id' ].docarray_type == ID
215215 assert index ._subindices ['d' ]._column_infos ['id' ].db_type == str
216216 assert index ._subindices ['d' ]._column_infos ['id' ].n_dim is None
217- assert index ._subindices ['d' ]._column_infos ['id' ].config == { 'hi' : ' there'}
217+ assert index ._subindices ['d' ]._column_infos ['id' ].config [ 'hi' ] == ' there'
218218
219219 assert issubclass (
220220 index ._subindices ['d' ]._column_infos ['tens' ].docarray_type , AbstractTensor
@@ -262,10 +262,10 @@ def test_create_columns():
262262 assert (
263263 index ._subindices ['d_root' ]._subindices ['d' ]._column_infos ['id' ].n_dim is None
264264 )
265- assert index . _subindices [ 'd_root' ]. _subindices [ 'd' ]. _column_infos [ 'id' ]. config == {
266- 'hi' : 'there'
267- }
268-
265+ assert (
266+ index . _subindices [ 'd_root' ]. _subindices [ 'd' ]. _column_infos [ 'id' ]. config [ 'hi' ]
267+ == 'there'
268+ )
269269 assert issubclass (
270270 index ._subindices ['d_root' ]
271271 ._subindices ['d' ]
0 commit comments