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

login
register
mail settings
Submitter Siddharth Agarwal
Date Nov. 2, 2015, 8:26 p.m.
Message ID <7e88113e98c32a7e1eb3.1446495992@dev6666.prn1.facebook.com>
Download mbox | patch
Permalink /patch/11263/
State Accepted
Headers show

Comments

Siddharth Agarwal - Nov. 2, 2015, 8:26 p.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@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

Patch

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'))