mirror of https://github.com/tc39/test262.git
Merge pull request #347 from bocoup/all-monkey-all-the-time
Use "monkeyYaml" in all environments
This commit is contained in:
commit
26faeed5c7
|
@ -113,12 +113,8 @@ def importYamlLoad():
|
|||
global yamlLoad
|
||||
if yamlLoad:
|
||||
return
|
||||
try:
|
||||
import yaml
|
||||
yamlLoad = yaml.load
|
||||
except:
|
||||
monkeyYaml = loadMonkeyYaml()
|
||||
yamlLoad = monkeyYaml.load
|
||||
monkeyYaml = loadMonkeyYaml()
|
||||
yamlLoad = monkeyYaml.load
|
||||
|
||||
def loadMonkeyYaml():
|
||||
f = None
|
||||
|
|
Loading…
Reference in New Issue