Skip to content

Commit

Permalink
Merge pull request #82 from vidartf/patch-1
Browse files Browse the repository at this point in the history
Adjust of NotImplementedError message strings
  • Loading branch information
takluyver committed Feb 2, 2017
2 parents d618594 + 2a3f301 commit 63235cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbformat/v4/rwbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class NotebookReader(object):

def reads(self, s, **kwargs):
"""Read a notebook from a string."""
raise NotImplementedError("loads must be implemented in a subclass")
raise NotImplementedError("reads must be implemented in a subclass")

def read(self, fp, **kwargs):
"""Read a notebook from a file like object"""
Expand All @@ -119,7 +119,7 @@ class NotebookWriter(object):

def writes(self, nb, **kwargs):
"""Write a notebook to a string."""
raise NotImplementedError("loads must be implemented in a subclass")
raise NotImplementedError("writes must be implemented in a subclass")

def write(self, nb, fp, **kwargs):
"""Write a notebook to a file like object"""
Expand Down

0 comments on commit 63235cb

Please sign in to comment.