New issue 587: type "byte" is incompatible with python 2.5
https://bitbucket.org/hpk42/pytest/issue/587/type-byte-is-incompatible-with-python-25
sscarwell:
The code contains the new keyword/alias **bytes**.
In file ./pytest-2.6.2/_pytest/capture.py(line 355):
```
#!python
isinstance(res, bytes)
```
The type "bytes" is not recognised by python 2.5.2.
Everywhere else in the code, **bytes** is referenced as **py.builtin.bytes**.
So I think a fix would be to replace bytes by py.builtin.bytes in capture.py.
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit