tests/test-encoding.t
changeset 40369 ef6cab7930b3
parent 39707 5abc47d4ca6b
--- a/tests/test-encoding.t	Thu Oct 18 21:55:47 2018 -0400
+++ b/tests/test-encoding.t	Wed Oct 17 23:33:43 2018 -0400
@@ -278,9 +278,10 @@
 
 #if hypothesis
 
-  >>> from hypothesishelpers import *
+  >>> import hypothesishelpers
   >>> from mercurial import encoding
-  >>> roundtrips(st.binary(), encoding.fromutf8b, encoding.toutf8b)
+  >>> hypothesishelpers.roundtrips(hypothesishelpers.st.binary(),
+  ...                              encoding.fromutf8b, encoding.toutf8b)
   Round trip OK
 
 #endif