1# Copyright (c) 2012 Ecma International. All rights reserved. 2# This code is governed by the BSD license found in the LICENSE file. 3 4#--Imports--------------------------------------------------------------------- 5import parseTestRecord 6 7#--Stubs----------------------------------------------------------------------- 8 9#--Globals--------------------------------------------------------------------- 10 11#--Helpers--------------------------------------------------------------------# 12 13def convertDocString(docString): 14 envelope = parseTestRecord.parseTestRecord(docString, '') 15 envelope.pop('header', None) 16 envelope.pop('test', None) 17 18 return envelope 19