(ba)
| 2074 | def test_33(self): |
| 2075 | |
| 2076 | def str_from_bytearray(ba): |
| 2077 | if (sys.version_info > (3, 0)): |
| 2078 | return ba |
| 2079 | else: |
| 2080 | return ba.decode("utf-8") |
| 2081 | |
| 2082 | # run test only if we have Qt bindings |
| 2083 | if not "QByteArrayPair" in pya.__dict__: |