0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[test_utils] PEP 8

This commit is contained in:
Sergey M․ 2016-05-14 20:46:33 +06:00
parent ca950f49e9
commit 364cf465dd
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -670,7 +670,6 @@ def test_js_to_json_edgecases(self):
on = js_to_json('{42:42}') on = js_to_json('{42:42}')
self.assertEqual(json.loads(on), {'42': 42}) self.assertEqual(json.loads(on), {'42': 42})
def test_extract_attributes(self): def test_extract_attributes(self):
self.assertEqual(extract_attributes('<e x="y">'), {'x': 'y'}) self.assertEqual(extract_attributes('<e x="y">'), {'x': 'y'})
self.assertEqual(extract_attributes("<e x='y'>"), {'x': 'y'}) self.assertEqual(extract_attributes("<e x='y'>"), {'x': 'y'})