Raise NotImplementedError (not NotImplemented)

NotImplemented is a singleton intended for use in __eq__ methods where comparison is not possible for some reason.
Merge pull request #1947 from mjg123/patch-1

Raise NotImplementedError (not NotImplemented)