vlc/python | branch: master | Olivier Aubert <[email protected]> | 
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)

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to