fix: started relying on own error handling instead of none
This commit is contained in:
		| @@ -16,9 +16,6 @@ class TestVideoIdParsing(unittest.TestCase): | ||||
|         with self.assertRaises(exceptions.SponsorBlockIdNotFoundError): | ||||
|             s._get_video_id("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee") | ||||
|  | ||||
|         s = SponsorBlock(silent=True) | ||||
|         self.assertEqual(s._get_video_id("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"), None) | ||||
|  | ||||
|     def test_youtu_dot_be(self): | ||||
|         s = SponsorBlock() | ||||
|         self.assertEqual(s._get_video_id("https://youtu.be/" + MAGIC_ID), MAGIC_ID) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user