tests/test-encoding.t
changeset 40369 ef6cab7930b3
parent 39707 5abc47d4ca6b
equal deleted inserted replaced
40368:fad6068249d9 40369:ef6cab7930b3
   276 
   276 
   277 Test roundtrip encoding/decoding of utf8b for generated data
   277 Test roundtrip encoding/decoding of utf8b for generated data
   278 
   278 
   279 #if hypothesis
   279 #if hypothesis
   280 
   280 
   281   >>> from hypothesishelpers import *
   281   >>> import hypothesishelpers
   282   >>> from mercurial import encoding
   282   >>> from mercurial import encoding
   283   >>> roundtrips(st.binary(), encoding.fromutf8b, encoding.toutf8b)
   283   >>> hypothesishelpers.roundtrips(hypothesishelpers.st.binary(),
       
   284   ...                              encoding.fromutf8b, encoding.toutf8b)
   284   Round trip OK
   285   Round trip OK
   285 
   286 
   286 #endif
   287 #endif