vlc/python | branch: master | Olivier Aubert <[email protected]> | 
Mon Sep 10 16:47:52 2012 +0200| [57fb61eaee693bacbbb2013dec954f95596061c5] | 
committer: Olivier Aubert

python bindings: use assertTrue instead ot assert_

assert_ is deprecated in python3

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=57fb61eaee693bacbbb2013dec954f95596061c5
---

 test.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test.py b/test.py
index 34af13d..d5fc151 100755
--- a/test.py
+++ b/test.py
@@ -61,7 +61,7 @@ class TestVLCAPI(unittest.TestCase):
     # Basic libvlc tests
     def test_instance_creation(self):
         i=vlc.Instance()
-        self.assert_(i)
+        self.assertTrue(i)
 
     def test_libvlc_media(self):
         mrl='/tmp/foo.avi'

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

Reply via email to