def test_apply_with_bytearray(self):
        key = ('test', 'demo', 'apply_insert')
        TestApply.client.apply(key, 'udf_basic_ops',
                               'create_record',
                               [bytearray("asd;as[d'as;d",
                                          "utf-8")])
        (key, _, bins) = TestApply.client.get(key)

        assert bins == {'bin': bytearray(b"asd;as[d\'as;d")}

        TestApply.client.remove(key)
For backwards-compatibility with urlparse. We're nice like that.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_apply.py/TestApply.test_apply_with_bytearray--crossover with--dataset/ETHPy150Open BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/request/packages/urllib3/util/url.py/Url.hostname