From fd2a160abc74ec8eab2ba4b93d38a1d3f8282874 Mon Sep 17 00:00:00 2001 From: Ved Patwardhan <54766411+vedpatwardhan@users.noreply.github.com> Date: Fri, 19 Jan 2024 07:11:25 +0000 Subject: [PATCH] added more comments --- tests/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/main.py b/tests/main.py index 62e838da..d376516d 100644 --- a/tests/main.py +++ b/tests/main.py @@ -17,13 +17,18 @@ def __init__(self, *args, **kwargs): @classmethod def setUp(cls): + print("starting kernel manager") cls.km = KernelManager() cls.km.start_kernel( extra_arguments=["--pylab=inline"], stderr=open(os.devnull, "w") ) + print("started kernel manager") cls.kc = cls.km.blocking_client() + print("created blocking client") cls.kc.start_channels() + print("started channels") cls.kc.execute_interactive("import os;os.environ['IVY_ROOT']='.ivy'") + print("executed first cell") @classmethod def tearDown(cls): @@ -39,6 +44,7 @@ def invert_config(self): self.config = inverted_config def test_notebook(self): + print("inside test_notebook") cells_to_ignore = [] for cell_number, cell_content in enumerate(self.file.cells): outputs = [] @@ -141,6 +147,7 @@ def startTest(self, test): suite = unittest.TestLoader().loadTestsFromTestCase(NotebookTest) runner = IterativeTestRunner(verbosity=2) + print("REACHED BEFORE RUN") result = runner.run(suite) if result.wasSuccessful():