summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-05-11 22:30:38 -0400
committerCharles Harris <charlesr.harris@gmail.com>2015-05-11 22:30:38 -0400
commitfb6426b3d9b25f5f7a8324fa1d9bab3f4c23dd95 (patch)
tree886f74ef406025591e29ad26800ea172f491dbc5 /numpy
parentc65fc9e36b287461040615a452e0268bbca9f3ca (diff)
parentfc6f4481707b9d80bc9c87658f4157931719ef7d (diff)
downloadnumpy-fb6426b3d9b25f5f7a8324fa1d9bab3f4c23dd95.tar.gz
Merge pull request #5869 from wackywendell/notimpl
MAINT: Added more detailed messages to NotImplementedError messages.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ma/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index f0a97bd8c..45fb8c98b 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -5569,7 +5569,7 @@ class MaskedArray(ndarray):
When `tofile` is called.
"""
- raise NotImplementedError("Not implemented yet, sorry...")
+ raise NotImplementedError("MaskedArray.tofile() not implemented yet.")
def toflex(self):
"""
@@ -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):