File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -124,26 +124,6 @@ def test_basic(self):
124124 # for file, details in results.items():
125125 # # Check if all files are identical
126126 # self.assertTrue(details[0] == "Identical", f"{file}: {details}")
127-
128-
129-
130-
131-
132- # @patch('sys.stdout', new_callable=io.StringIO)
133- # def test_main_no_arguments(self, mock_stdout):
134- # """
135- # Test the main() function with no additional arguments,
136- # e.g., `python main.py`
137- # """
138- # test_args = ["python -m icfree.learner"]
139- # with patch.object(sys, 'argv', test_args):
140- # main()
141-
142- # output = mock_stdout.getvalue()
143-
144- # # Check if your program's behavior with no arguments matches expectations
145- # # This will depend on how your main() handles empty arguments
146- # self.assertIn("CLI arguments received: []", output)
147127
148128
149129if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments