[test_compat] Ignore unicode_literals
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 3 Nov 2014 18:12:06 +0000 (19:12 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 3 Nov 2014 18:12:06 +0000 (19:12 +0100)
test/test_compat.py

index d1a33ddc9f2b92a75f0d33671b9652a0813d8f18..4a7fc3606295a4a01b6a67c4e0d22c83240d4342 100644 (file)
@@ -37,7 +37,7 @@ class TestCompat(unittest.TestCase):
         all_names = youtube_dl.compat.__all__
         present_names = set(filter(
             lambda c: '_' in c and not c.startswith('_'),
-            dir(youtube_dl.compat)))
+            dir(youtube_dl.compat))) - set(['unicode_literals'])
         self.assertEqual(all_names, sorted(present_names))
 
 if __name__ == '__main__':