Skip to content

Hypothesis version 6.165.0

Latest

Choose a tag to compare

@Zac-HD Zac-HD released this 02 Aug 00:20

"characters()" now issues the new "NonRoundTrippableCharactersWarning"
if the "codec" argument allows generating characters which encode
successfully but do not decode back to the same character - for
example the yen sign becomes a backslash under "shift_jis" - since
strings containing them do not round-trip (issue #4813). Pass each
such character in "include_characters" to generate it without the
warning, or in "exclude_characters" to generate only characters which
round-trip.

The canonical version of these notes (with links) is on readthedocs.