zonca/pytest-ipynb

Current cell numbering output is off by one from notebook cell number

Closed this issue · 1 comments

Because notebooks cell numbers are 1-indexed, the current output is off by 1:

test_io.ipynb::notebooks/tests/test_io.ipynb::cell 0, setup PASSED
test_io.ipynb::notebooks/tests/test_io.ipynb::cell 1, test P4DBName PASSED
test_io.ipynb::notebooks/tests/test_io.ipynb::cell 2, test get image names from db PASSED
test_io.ipynb::notebooks/tests/test_io.ipynb::cell 3, test get current database fname PASSED
test_io.ipynb::notebooks/tests/test_io.ipynb::cell 4, test get latest file PASSED
test_io.ipynb::notebooks/tests/test_io.ipynb::cell 5, test PathManager PASSED
test_io.ipynb::notebooks/tests/test_io.ipynb::cell 6, no description PASSED
zonca commented

thanks!