Package: python-httpretty / 0.8.0-2

Metadata

Package Version Patches format
python-httpretty 0.8.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
remove problematic unicode chars in comments.patch | (download)

httpretty/__init__.py | 2 1 + 1 - 0 !
httpretty/compat.py | 2 1 + 1 - 0 !
httpretty/core.py | 2 1 + 1 - 0 !
httpretty/errors.py | 2 1 + 1 - 0 !
httpretty/http.py | 2 1 + 1 - 0 !
httpretty/utils.py | 2 1 + 1 - 0 !
readme.rst | 2 1 + 1 - 0 !
tests/functional/__init__.py | 2 1 + 1 - 0 !
tests/functional/base.py | 2 1 + 1 - 0 !
tests/functional/test_bypass.py | 2 1 + 1 - 0 !
tests/functional/test_debug.py | 2 1 + 1 - 0 !
tests/functional/test_httplib2.py | 2 1 + 1 - 0 !
tests/functional/test_requests.py | 2 1 + 1 - 0 !
tests/functional/test_urllib2.py | 2 1 + 1 - 0 !
tests/functional/testserver.py | 2 1 + 1 - 0 !
tests/unit/__init__.py | 2 1 + 1 - 0 !
tests/unit/test_httpretty.py | 2 1 + 1 - 0 !
17 files changed, 17 insertions(+), 17 deletions(-)

 removes problematic unicode chars in comments
 Under some circonstances, using Python 3.2, the call of:
  python setup.py install
 would produce this:
 Traceback (most recent call last):
   File "setup.py", line 86, in <module>
     version=read_version(),
   File "setup.py", line 46, in read_version
     finder.visit(ast.parse(local_file('httpretty', '__init__.py')))
   File "setup.py", line 78, in <lambda>
     open(os.path.join(os.path.dirname(__file__), *f)).read()
   File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
     return codecs.ascii_decode(input, self.errors)[0]
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 133: ordinal not in range(128)