f7e59f8
1
2
3
4
5
6
7
8
9
10
# -*- coding: utf-8 -*- from pytube.exceptions import ExtractError def test_is_expected(): try: raise ExtractError('ppfff', video_id='YLnZklYFe7E') except ExtractError as e: assert e.video_id == 'YLnZklYFe7E'