[vlc-commits] python bindings: convert string to bytes in logger test
Olivier Aubert
git at videolan.org
Mon Sep 10 17:00:16 CEST 2012
vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Sep 10 16:40:58 2012 +0200| [8548e975b7c3534e3e8811be1befe35632195d06] | committer: Olivier Aubert
python bindings: convert string to bytes in logger test
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=8548e975b7c3534e3e8811be1befe35632195d06
---
test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test.py b/test.py
index d07e12d..2786823 100755
--- a/test.py
+++ b/test.py
@@ -116,7 +116,7 @@ class TestVLCAPI(unittest.TestCase):
i=vlc.Instance()
i.set_log_verbosity(3)
l=i.log_open()
- i.add_intf('dummy')
+ i.add_intf(vlc.str_to_bytes('dummy'))
for m in l:
# Ensure that messages can be read.
self.assertNotEqual(len(m.message), 0)
More information about the vlc-commits
mailing list