def test_show_nonexisting_noraise(self):
        buf = io.StringIO()
        with stdout_redirector(buf):
            state.show()

        self.assertEqual(len(buf.getvalue()), 0)
Test showing a state that does not exist
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_state.py/TestBasicState.test_show_nonexisting_noraise