File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -255,17 +255,17 @@ def test_exceptions_for_unsupported_polar_types(self):
255255 Tracks future changes in any packages.
256256 """
257257
258- # Series: PyMongoError does not support
258+ # Series: PyMongoError does not support.
259259 with self .assertRaises (ValueError ) as exc :
260260 pls = pl .Series (values = range (2 ))
261261 write (self .coll , pls )
262262 self .assertTrue ("Invalid tabular data object" in exc .exception .args [0 ])
263263
264- # Polars has an Object Type, similar in concept to Pandas
264+ # Polars has an Object Type, similar in concept to Pandas. PyMongoError does not support them.
265265 class MyObject :
266266 pass
267267
268- with self .assertRaises (pl . exceptions . PanicException ) as exc :
268+ with self .assertRaises (ValueError ) as exc :
269269 df_in = pl .DataFrame (data = [MyObject ()] * 2 )
270270 write (self .coll , df_in )
271271
You can’t perform that action at this time.
0 commit comments