swig-py: Check capability of bytes and unicode mixture in sequence on Python 2
* subversion/bindings/swig/python/tests/client.py
(SubversionClientTestCase.test_log5_revprops):
Use 'u' prefix to check it in case of Python 2 as well as in Python 3.
@@ -300,9 +300,9 @@ class SubversionClientTestCase(unittest.TestCase):
self.received_log_entries = []
- # (Python 3: pass tuple of bytes and str mixture as revprops argument)
+ # (Pass tuple of bytes and str(unicode) mixture as revprops argument)
client.log5((directory,), start, (rev_range,), 1, True, False, False,
- ('svn:author', b'svn:log'),
+ (u'svn:author', b'svn:log'),
log_entry_receiver_whole, self.client_ctx)
self.assertEqual(len(self.received_log_entries), 1)
revprops = self.received_log_entries[0].revprops
