import gdtest_mock_code
gdtest_mock_code.add(10, 20)Basic Mock Cell
A basic mock cell splits display code from eval code.
30
The reader sees gdtest_mock_code.add(10, 20) but the cell actually runs from gdtest_mock_code import add; add(10, 20).