tests/test-pathencode.py
changeset 18110 acfc6fab1361
parent 18094 8ceabb34f1cb
child 18435 8c019d2fd7c0
--- a/tests/test-pathencode.py	Thu Dec 13 23:37:53 2012 +0100
+++ b/tests/test-pathencode.py	Thu Dec 20 15:18:41 2012 +0100
@@ -177,7 +177,7 @@
         if o in ('-c', '--count'):
             count = int(a)
         elif o in ('-s', '--seed'):
-            seed = long(a)
+            seed = long(a, base=0) # accepts base 10 or 16 strings
         elif o == '--build':
             buildprobtable(sys.stdout,
                            'find .hg/store/data -type f && '