Skip to content

Commit

Permalink
Ignoring exception testing as it is different between py2 and py3 and…
Browse files Browse the repository at this point in the history
… doctest won't work for both
  • Loading branch information
bsipocz committed Apr 13, 2016
1 parent bc6ab00 commit 7161035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/asdf/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ will complain::

>>> from asdf import AsdfFile
>>> tree = {'data': 'Not an array'}
>>> AsdfFile(tree)
>>> AsdfFile(tree) # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
ValidationError: mismatched tags, wanted
Expand All @@ -86,7 +86,7 @@ intermediate state::
>>> ff.tree['data'] = 'Not an array'
>>> # The ASDF file is now invalid, but asdf will tell us when
>>> # we write it out.
>>> ff.write_to('test.asdf')
>>> ff.write_to('test.asdf') # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
ValidationError: mismatched tags, wanted
Expand Down

0 comments on commit 7161035

Please sign in to comment.