Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
Remove/skip part of doctest that requires an actual HDF5 file/vlarray
  • Loading branch information
tomkooij committed Jun 27, 2016
1 parent 7bc43f7 commit 405350c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tables/atom.py
Expand Up @@ -1081,12 +1081,7 @@ class VLStringAtom(_BufferedAtom):
>>> s = 'A unicode string: hbar = \u210f'
>>> bytestring = s.encode('utf-8')
>>> VLArray.append(bytestring)
and decode when reading::
>>> bytestring = VLArray[0]
>>> s = bytestring.decode('utf-8')
>>> VLArray.append(bytestring) # doctest: +SKIP
For full Unicode support, using VLUnicodeAtom (see :ref:`VLUnicodeAtom`) is
recommended.
Expand Down

0 comments on commit 405350c

Please sign in to comment.