Update guessit to 3.0.3

Also updates:
- babelfish-0.5.5
- python-dateutil-2.7.5
- rebulk-1.0.0
- six-1.12.0
This commit is contained in:
Labrys of Knossos 2018-12-15 00:55:30 -05:00
commit 2eb9d9dc7c
120 changed files with 17964 additions and 4530 deletions

View file

@ -53,6 +53,14 @@ if six.PY2:
"""
def test_ensure_standard_string_class():
class CustomStr(str):
pass
ret = guessit(CustomStr('1080p'), options={'advanced': True})
assert ret and 'screen_size' in ret and not isinstance(ret['screen_size'].input_string, CustomStr)
def test_properties():
props = properties()
assert 'video_codec' in props.keys()