* direct execution comment accidental removal * zip type check in 'traverse' * less convoluted 'variables' in JSInterpreter initialization * tiny bit more meaningful log messages * changing single letter flags to more explanatory names * refactoring skip test logic
13 lines
286 B
Python
13 lines
286 B
Python
from youtube_dl.jsinterp.jsgrammar import Token
|
|
|
|
skip = {'interpret': 'Interpreting with statement not yet implemented',
|
|
'parse': 'Test not yet implemented: missing code and ast'}
|
|
|
|
tests = [
|
|
{
|
|
'code': '',
|
|
'asserts': [{'value': 0}],
|
|
'ast': []
|
|
}
|
|
]
|