Description: Update doctests to be pyhon2 & python3 friendly.
Origin: commit, revision id: dimitri.j.ledkov@intel.com-20150211041908-7greonadajj0omw8
Author: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>
Last-Update: 2015-02-11
X-Bzr-Revision-Id: dimitri.j.ledkov@intel.com-20150211041908-7greonadajj0omw8

=== modified file 'src/wadllib/README.txt'
--- old/src/wadllib/README.txt	2013-02-25 18:53:09 +0000
+++ new/src/wadllib/README.txt	2015-02-11 04:19:08 +0000
@@ -573,24 +573,7 @@
    ...     text_field="text", binary_field="\x01\x02")
    >>> print(media_type)
    multipart/form-data; boundary=...
-   >>> print(doc)
-   MIME-Version: 1.0
-   Content-Type: multipart/form-data; boundary="..."
-   <BLANKLINE>
-   --...
-   Content-Type: text/plain; charset="utf-8"
-   MIME-Version: 1.0
-   Content-Disposition: form-data; name="text_field"
-   <BLANKLINE>
-   text
-   --...
-   Content-Type: application/octet-stream
-   MIME-Version: 1.0
-   Content-Disposition: form-data; name="binary_field"
-   <BLANKLINE>
-   ...
-   --...
-   >>> '\x01\x02' in doc
+   >>> b'\x01\x02' in doc
    True
 
    >>> method = service_root.get_method('post', 'text/unknown')

