Skip to content

Commit ae5bf69

Browse files
committed
temp workaround
1 parent c9e4c7a commit ae5bf69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/manifest/test262.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from typing import Dict, Optional, Text, Tuple, Any, Callable
44

55
import re
6-
import yaml
76

87
# Matches trailing whitespace and any following blank lines.
98
_BLANK_LINES = r"([ \t]*[\r\n]{1,2})*"
@@ -17,6 +16,7 @@
1716
class TestRecord:
1817
@staticmethod
1918
def _yaml_attr_parser(test_record: Dict[Text, Any], attrs: Text, name: Text, onerror: Callable[[Text], Any]) -> None:
19+
import yaml
2020
parsed = yaml.safe_load(re.sub(_STRIP_CONTROL_CHARS, ' ', attrs))
2121
if parsed is None:
2222
onerror("Failed to parse yaml in name %s" % name)

0 commit comments

Comments
 (0)