Fix xrange is undefined error
- xrange is undefined error in Tor-v3 Patch Files
This commit is contained in:
parent
a1eb6eede5
commit
7acd8df906
3 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ if PY3:
|
|||
int2byte = operator.methodcaller("to_bytes", 1, "big")
|
||||
else:
|
||||
int2byte = chr
|
||||
range = xrange
|
||||
range = list(range(1,10000000))
|
||||
|
||||
def indexbytes(buf, i):
|
||||
return ord(buf[i])
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[pytest]
|
||||
python_files = Test*.py
|
||||
addopts = -rsxX -v --durations=6 --no-print-logs --capture=fd
|
||||
addopts = -rsxX -v --durations=6 --capture=fd
|
||||
markers =
|
||||
slow: mark a tests as slow.
|
||||
webtest: mark a test as a webtest.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue