Publish not from the last code cell#
from nbproject import header, publish
header()
id | VahIVDKKScdz |
version | draft |
time_init | 2022-07-11 12:16 |
time_run | 2022-10-24 12:35 |
pypackage | nbproject==0.7.0 pytest==7.1.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