MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_delete_without_comments

Method test_delete_without_comments

test/test_comments.py:347–354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

345 BoxList([1]).set_comment(1.5, "x")
346
347 def test_delete_without_comments(self):
348 bx = Box(a=1)
349 bx.del_comment("a")
350 bl = BoxList([1])
351 bl.del_comment(0)
352 bl.set_comment(0, "x")
353 bl.del_comment(0)
354 assert bl.get_comment(0) is None
355
356 def test_box_list_document_and_positions(self):
357 bl = BoxList([1, 2])

Callers

nothing calls this directly

Calls 6

del_commentMethod · 0.95
del_commentMethod · 0.95
set_commentMethod · 0.95
get_commentMethod · 0.95
BoxClass · 0.90
BoxListClass · 0.90

Tested by

no test coverage detected