We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3cdc27 commit b575225Copy full SHA for b575225
test/test_typing.py
@@ -594,14 +594,17 @@ def test_son_document_type(self) -> None:
594
595
596
class TestBSONFromVectorType(unittest.TestCase):
597
+ @only_type_check
598
def test_from_vector_binaryvector(self):
599
list_vector = BinaryVector([127, 7], BinaryVectorDtype.INT8)
600
Binary.from_vector(list_vector)
601
602
603
def test_from_vector_list_int(self):
604
list_vector = [127, 7]
605
Binary.from_vector(list_vector, BinaryVectorDtype.INT8)
606
607
608
def test_from_vector_list_float(self):
609
list_vector = [127.0, 7.0]
610
0 commit comments