@@ -180,7 +180,10 @@ def test_isna() -> None:
180
180
if not pd .notna (nullable2 ):
181
181
# TODO: This is the true type (see comments above on the limitations of TypeGuard)
182
182
# check(assert_type(nullable2, None), type(None))
183
- assert_type (nullable2 , Union [int , NaTType , NAType , None ])
183
+ assert_type (nullable2 , Union [int , None ]) # TODO: MyPy result
184
+ assert_type (
185
+ nullable2 , Union [int , NaTType , NAType , None ]
186
+ ) # TODO: Pyright result
184
187
185
188
nullable3 = random .choice ([True , None , pd .NA ])
186
189
if pd .notna (nullable3 ):
@@ -196,7 +199,10 @@ def test_isna() -> None:
196
199
if not pd .notna (nullable3 ):
197
200
# TODO: This is the true type (see comments above on the limitations of TypeGuard)
198
201
# assert_type(nullable3, Union[NAType, None])
199
- assert_type (nullable3 , Union [bool , NaTType , NAType , None ])
202
+ assert_type (nullable3 , Union [bool , NAType , None ]) # TODO: Mypy result
203
+ assert_type (
204
+ nullable3 , Union [bool , NaTType , NAType , None ]
205
+ ) # TODO: Pyright result
200
206
201
207
202
208
# GH 55
0 commit comments