[PATCH 3 of 5] test-pathencode.py: drop support for Python 2.4

Siddharth Agarwal sid0 at fb.com
Mon Nov 2 14:26:32 CST 2015


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1445729116 25200
#      Sat Oct 24 16:25:16 2015 -0700
# Branch stable
# Node ID 7e88113e98c32a7e1eb39e1a13a843f34bd7142e
# Parent  b04040adc66314dae044866d72c5b58c53074c30
test-pathencode.py: drop support for Python 2.4

diff --git a/tests/test-pathencode.py b/tests/test-pathencode.py
--- a/tests/test-pathencode.py
+++ b/tests/test-pathencode.py
@@ -9,9 +9,6 @@ from mercurial import store
 import binascii, itertools, math, os, random, sys, time
 import collections
 
-if sys.version_info[:2] < (2, 6):
-    sys.exit(0)
-
 validchars = set(map(chr, range(0, 256)))
 alphanum = range(ord('A'), ord('Z'))
 


More information about the Mercurial-devel mailing list