mirror of
https://github.com/tc39/test262.git
synced 2025-07-30 01:14:56 +02:00
Remove unused constants in checks/features.py
This commit is contained in:
parent
e10344acf2
commit
8e7213db38
@ -1,12 +1,5 @@
|
|||||||
from ..check import Check
|
from ..check import Check
|
||||||
|
|
||||||
_REQUIRED_FIELDS = set(['description'])
|
|
||||||
_OPTIONAL_FIELDS = set([
|
|
||||||
'author', 'es5id', 'es6id', 'esid', 'features', 'flags', 'includes',
|
|
||||||
'info', 'negative', 'timeout'
|
|
||||||
])
|
|
||||||
_VALID_FIELDS = _REQUIRED_FIELDS | _OPTIONAL_FIELDS
|
|
||||||
|
|
||||||
class CheckFeatures(Check):
|
class CheckFeatures(Check):
|
||||||
'''Ensure tests specify only `features` from a list of valid values.'''
|
'''Ensure tests specify only `features` from a list of valid values.'''
|
||||||
ID = 'FEATURES'
|
ID = 'FEATURES'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user