Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Ferdowsi
/
pytube
like
0
Follow
Ferdowsi Neural Lab
3
Model card
Files
Files and versions
Community
0715869
pytube
/
tests
/
test_cipher.py
nficano
tests + hotfix
f7e59f8
over 7 years ago
raw
Copy download link
history
blame
Safe
217 Bytes
# -*- coding: utf-8 -*-
import
pytest
from
pytube
import
cipher
from
pytube.exceptions
import
RegexMatchError
def
test_map_functions
():
with
pytest.raises(RegexMatchError):
cipher.map_functions(
'asdf'
)