[GRASS-git] [OSGeo/grass] f9ee75: grass.jupyter: Test init and session (#2247)
Vaclav Petras
noreply at github.com
Tue Mar 15 19:09:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: f9ee75cceffd6fb4a6ca51eeb783b8f982a36f99
https://github.com/OSGeo/grass/commit/f9ee75cceffd6fb4a6ca51eeb783b8f982a36f99
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
A python/grass/jupyter/tests/grass_jupyter_session_test.py
Log Message:
-----------
grass.jupyter: Test init and session (#2247)
Adds test for Jupyter init, session, and finish using pytest.
Uses temporary script to test automatic (implicit) cleanup with weakref.finalize (always needed).
Uses temporary script for the standard test because the session restores the global state cleanly, namely the global variables in the Python library (temporary solution).
More information about the grass-commit
mailing list