exclude utf8 tests under py3

These are known to not work until https://bugs.python.org/issue37093
is addressed in CPython upstream.

Change-Id: I4a6877907d14b632a9a477c887913488427b62b7
This commit is contained in:
John Dickinson 2019-10-17 09:43:55 -07:00 committed by Tim Burke
parent f007db3c61
commit 0c1b485ad6

View File

@ -457,10 +457,12 @@ class TestReconstructorRebuild(ECProbeTest):
self.assertNotIn('X-Delete-At', headers)
class TestReconstructorRebuildUTF8(TestReconstructorRebuild):
if six.PY2:
class TestReconstructorRebuildUTF8(TestReconstructorRebuild):
def _make_name(self, prefix):
return b'%s\xc3\xa8-%s' % (prefix.encode(), str(uuid.uuid4()).encode())
def _make_name(self, prefix):
return b'%s\xc3\xa8-%s' % (
prefix.encode(), str(uuid.uuid4()).encode())
if __name__ == "__main__":