The errors appear because it's your task to implement the functions so that the tests (who output the errors you're seeing) 'pass'.
As we can see in
the code, the
__ne__ function is simply not implemented yet and a
NotImplementedError error is raised. You are meant to remove this line and implement the function's functionality. That's the whole task here.
FYI, chapter 1 of the book also state you need to open ecc.py to start the exercise.
You can see this in action in the code that accompanies this book. Once you’ve set up Jupyter Notebook (see [setting_up]), you can navigate to code-ch01/Chapter1.ipynb and run the code to see the results. For the next exercise, you’ll want to open up ecc.py by clicking the link in the Exercise 1 box. If you get stuck, please remember that the answers to every exercise are in [appendix_solutions].
I can confirm copying the answer to ecc.py (rather than trying add function to imported object) works (passed the test).