Skip to content

Commit

Permalink
MAINT: Added more detailed messages to NotImplementedError messages.
Browse files Browse the repository at this point in the history
Closes #5444.
  • Loading branch information
wackywendell committed May 11, 2015
1 parent c65fc9e commit fc6f448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/ma/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5569,7 +5569,7 @@ def tofile(self, fid, sep="", format="%s"):
When `tofile` is called.
"""
raise NotImplementedError("Not implemented yet, sorry...")
raise NotImplementedError("MaskedArray.tofile() not implemented yet.")

def toflex(self):
"""
Expand Down Expand Up @@ -7277,7 +7277,7 @@ def loads(strg):

################################################################################
def fromfile(file, dtype=float, count= -1, sep=''):
raise NotImplementedError("Not yet implemented. Sorry")
raise NotImplementedError("fromfile() not yet implemented for a MaskedArray.")


def fromflex(fxarray):
Expand Down

0 comments on commit fc6f448

Please sign in to comment.