Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
BUG: notebooks are one-based indexed, so we should not zero-index
  • Loading branch information
bsipocz committed Jun 17, 2025
commit c3745279a463b41dd4d3b457bd48f120b371e9ac
2 changes: 1 addition & 1 deletion nbval/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def collect(self):
self.nb = nbformat.read(str(self.fspath), as_version=4)

# Start the cell count
cell_num = 0
cell_num = 1

# Iterate over the cells in the notebook
for cell in self.nb.cells:
Expand Down