##// END OF EJS Templates
tests: make test-pathencode use absolute_import
Pulkit Goyal -
r28928:59481bfd default
parent child Browse files
Show More
@@ -60,7 +60,6
60 tests/test-lrucachedict.py not using absolute_import
60 tests/test-lrucachedict.py not using absolute_import
61 tests/test-lrucachedict.py requires print_function
61 tests/test-lrucachedict.py requires print_function
62 tests/test-manifest.py not using absolute_import
62 tests/test-manifest.py not using absolute_import
63 tests/test-pathencode.py not using absolute_import
64 tests/test-trusted.py requires print_function
63 tests/test-trusted.py requires print_function
65
64
66 #if py3exe
65 #if py3exe
@@ -5,11 +5,19
5 # that have proven likely to expose bugs and divergent behavior in
5 # that have proven likely to expose bugs and divergent behavior in
6 # different encoding implementations.
6 # different encoding implementations.
7
7
8 from __future__ import print_function
8 from __future__ import absolute_import, print_function
9
9
10 from mercurial import store
10 import binascii
11 import binascii, itertools, math, os, random, sys, time
12 import collections
11 import collections
12 import itertools
13 import math
14 import os
15 import random
16 import sys
17 import time
18 from mercurial import (
19 store,
20 )
13
21
14 validchars = set(map(chr, range(0, 256)))
22 validchars = set(map(chr, range(0, 256)))
15 alphanum = range(ord('A'), ord('Z'))
23 alphanum = range(ord('A'), ord('Z'))
General Comments 0
You need to be logged in to leave comments. Login now