2018-05-31 06:37:27 +02:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2018-05-30 23:06:19 +02:00
|
|
|
from youtube_dl.jsinterp2.jsgrammar import Token
|
2016-12-14 18:21:57 +01:00
|
|
|
|
2018-06-02 02:01:40 +02:00
|
|
|
skip = {
|
|
|
|
'jsinterp': 'Label statement is not supported',
|
|
|
|
'interpret': 'Interpreting label not yet implemented',
|
2018-06-02 05:26:32 +02:00
|
|
|
'parse': 'Test not yet implemented: missing code and ast'
|
2018-06-02 02:01:40 +02:00
|
|
|
}
|
2016-12-14 18:21:57 +01:00
|
|
|
|
|
|
|
tests = [
|
|
|
|
{
|
|
|
|
'code': '',
|
|
|
|
'asserts': [{'value': 0}],
|
|
|
|
'ast': []
|
|
|
|
}
|
|
|
|
]
|