MCPcopy Create free account
hub / github.com/dimastbk/python-calamine / test_close_workbook

Function test_close_workbook

tests/test_base.py:364–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362
363
364def test_close_workbook():
365 reader = CalamineWorkbook.from_path(PATH / "base.xlsx")
366 reader.close()
367
368 with pytest.raises(WorkbookClosed):
369 reader.get_sheet_by_index(1)
370
371
372def test_close_workbook_double():

Callers

nothing calls this directly

Calls 3

from_pathMethod · 0.80
closeMethod · 0.80
get_sheet_by_indexMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…