mirror of https://github.com/tc39/test262.git
19 lines
661 B
Python
19 lines
661 B
Python
# Copyright (c) 2012 Ecma International. All rights reserved.
|
|
# This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
#--Imports---------------------------------------------------------------------
|
|
import parseTestRecord
|
|
|
|
#--Stubs-----------------------------------------------------------------------
|
|
|
|
#--Globals---------------------------------------------------------------------
|
|
|
|
#--Helpers--------------------------------------------------------------------#
|
|
|
|
def convertDocString(docString):
|
|
envelope = parseTestRecord.parseTestRecord(docString, '')
|
|
envelope.pop('header', None)
|
|
envelope.pop('test', None)
|
|
|
|
return envelope
|