https://github.com/4dsolutions/python_camp/pull/4/files :
class TestCalculatorREPL(unittest.TestCase): from unittest.mock import patch @patch("sys.stdin", StringIO("1")) @patch("sys.stdout", new_callable=StringIO) def test__(): pass
https://github.com/4dsolutions/python_camp/pull/4/files :