Publish not from the last code cell¶
from nbproject import header, publish
header()
id | VahIVDKKScdz |
version | 0 |
time_init | 2022-07-11 12:16 |
time_run | 2024-10-16 16:26 |
pypackage | nbproject==0.10.4 pytest==8.3.3 |
import pytest
The following will throw an error, because publish is not in the last code cell.
with pytest.raises(RuntimeError):
publish(i_confirm_i_saved=True)
1 + 1
2