Publish without confirming saving outside Jupyter Lab#

from nbproject import header, publish

header()
idmNFd52YOodtk
version0
time_init2022-07-11 12:16
time_run2024-02-28 16:55
pypackagenbproject==0.10.1 pytest==8.0.2
import pytest

The following will only throw an error on CI, because CI does not mimic the Jupyter Lab environment.

with pytest.raises(RuntimeError):
    publish(pretend_no_test_env=True)