File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change
1
+ include README.md
2
+ include CHANGELOG.md
3
+ include CONTRIBUTING.md
4
+ include LICENSE
5
+ include THIRD-PARTY-NOTICES
6
+ include *.sh
7
+ include pyproject.toml
8
+ include tox.ini
9
+
10
+ exclude RELEASE.md
11
+ exclude asv.conf.json
12
+
13
+ graft pymongoarrow
14
+
15
+ recursive-include test *
16
+ recursive-exclude docs *
17
+ recursive-exclude benchmarks *
18
+
19
+ global-exclude *.cpp
20
+ global-exclude *.dylib
21
+ global-exclude *.so.*
22
+ global-exclude *.so
23
+ global-exclude *.dll
24
+ global-exclude *.pyd
25
+ global-exclude *.pyc
26
+ global-exclude .git*
27
+ global-exclude .DS_Store
Original file line number Diff line number Diff line change @@ -255,17 +255,17 @@ def test_exceptions_for_unsupported_polar_types(self):
255
255
Tracks future changes in any packages.
256
256
"""
257
257
258
- # Series: PyMongoError does not support
258
+ # Series: PyMongoError does not support.
259
259
with self .assertRaises (ValueError ) as exc :
260
260
pls = pl .Series (values = range (2 ))
261
261
write (self .coll , pls )
262
262
self .assertTrue ("Invalid tabular data object" in exc .exception .args [0 ])
263
263
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.
265
265
class MyObject :
266
266
pass
267
267
268
- with self .assertRaises (pl . exceptions . PanicException ) as exc :
268
+ with self .assertRaises (ValueError ) as exc :
269
269
df_in = pl .DataFrame (data = [MyObject ()] * 2 )
270
270
write (self .coll , df_in )
271
271
You can’t perform that action at this time.
0 commit comments