Merge lp:~rharding/wadllib/fix_tests_922599 into lp:wadllib
Proposed by
Richard Harding
on 2012-01-27
| Status: | Merged |
|---|---|
| Merged at revision: | 24 |
| Proposed branch: | lp:~rharding/wadllib/fix_tests_922599 |
| Merge into: | lp:wadllib |
| Diff against target: |
58 lines (+13/-6) 1 file modified
src/wadllib/application.py (+13/-6) |
| To merge this branch: | bzr merge lp:~rharding/wadllib/fix_tests_922599 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Benji York (community) | code | 2012-01-27 | Approve on 2012-01-27 |
|
Review via email:
|
|||
Commit Message
Update to using BytesIO and catching string v stream inputs.
Description of the Change
= Summary =
Tests are failing under oneriec python 2
== Implementation Details ==
Most of this was put together by allenap but the idea is to try to standardize the input into the old from_string (now from_stream) parser so that in py3 and py2 both get a byte stream into the iterator.
== Tests ==
python setup.py test
To post a comment you must log in.

This looks good to me. We might want a comment in _from_string about ET.fromstring( ...)) but it's
how it looks like a noop (ET.tostring(
actually there for Python 2/3 compatibility.