My code fails the test03_example (It passes all the other tests) and shows the following error,
test_01.py:39: in do_test
self.assertDictEqual(expected, result)
E AssertionError: {'The frightened cross-contamination predicts sp[27789 chars] 379} != {'The flaky executor repairs mule.': 481, 'The i[27790 chars] 520}
E Diff is 29780 characters long. Set self.maxDiff to None to see it.
But I compared both index.txt files in test03.out and test03.expected directories using notepad++ comparison plugin which shows both files are identical.
Can anyone advise me on how can I debug this problem or is there any issue with the tests? Thanks!
Edit: I had issues with my code logic but it didn't appear until I used encoding="utf-8" in the open() function.