Skip to content

Commit b575225

Browse files
committed
only typecheck
1 parent c3cdc27 commit b575225

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_typing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,14 +594,17 @@ def test_son_document_type(self) -> None:
594594

595595

596596
class TestBSONFromVectorType(unittest.TestCase):
597+
@only_type_check
597598
def test_from_vector_binaryvector(self):
598599
list_vector = BinaryVector([127, 7], BinaryVectorDtype.INT8)
599600
Binary.from_vector(list_vector)
600601

602+
@only_type_check
601603
def test_from_vector_list_int(self):
602604
list_vector = [127, 7]
603605
Binary.from_vector(list_vector, BinaryVectorDtype.INT8)
604606

607+
@only_type_check
605608
def test_from_vector_list_float(self):
606609
list_vector = [127.0, 7.0]
607610
Binary.from_vector(list_vector, BinaryVectorDtype.INT8)

0 commit comments

Comments
 (0)