Skip to content

Commit 0301a3a

Browse files
committed
Fix tox.ini
1 parent 4e5583c commit 0301a3a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ init:
4242
install:
4343
- "SET PATH=%PYTHON%;%PYTHON%\\scripts;%PATH%"
4444
- echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
45-
- "pip install --upgrade pip wheel"
4645
- "pip install -r dev-requirements.txt"
4746

4847
build_script:

bencoder.pyx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ def encode(v, r):
102102
for tp, func in encode_func.items():
103103
if isinstance(v, tp):
104104
return func(v, r)
105-
raise BTFailure("Unknown Type: %s" % tp)
105+
raise BTFailure(
106+
"Can't encode {}(Type: {})".format(v, type(v))
107+
)
106108

107109

108110

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ envlist = py26, py27, py33, py34, py35, pypy
33

44
[testenv]
55
commands = python setup.py test
6+
skip_install = True
67
deps =
78
cython

0 commit comments

Comments
 (0)