Skip to content

Commit

Permalink
fix: more doctest fussiness
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Dec 17, 2024
1 parent b241718 commit d252e9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabled/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ def auto_decode_bytes(
>>> s_latin1 = 'Héllo, wörld! Ça va?'
>>> b_latin1 = s_latin1.encode('latin-1') # latin-1 is ISO-8859-1
>>> decoded_s = auto_decode_bytes(b_latin1, verbose=True)
>>> decoded_s = auto_decode_bytes(b_latin1, verbose=True) # doctest: +ELLIPSIS
Trying encoding: 'utf-8'
Trying encoding: 'big5'
Trying encoding: ...
>>> decoded_s
'H幨lo, w顤ld! ド va?'
>>> decoded_s == s_latin1
Expand Down

0 comments on commit d252e9f

Please sign in to comment.