mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-11 12:31:59 +01:00
Merge branch 'master' into feature/esp32s2beta_merge
This commit is contained in:
@@ -9,6 +9,11 @@ import argparse
|
||||
|
||||
import yaml
|
||||
|
||||
try:
|
||||
from yaml import CLoader as Loader
|
||||
except ImportError:
|
||||
from yaml import Loader as Loader
|
||||
|
||||
try:
|
||||
from Utility import CIAssignTest
|
||||
except ImportError:
|
||||
@@ -128,7 +133,7 @@ class UnitTestAssignTest(CIAssignTest.AssignTest):
|
||||
|
||||
try:
|
||||
with open(test_case_path, "r") as f:
|
||||
raw_data = yaml.load(f)
|
||||
raw_data = yaml.load(f, Loader=Loader)
|
||||
test_cases = raw_data["test cases"]
|
||||
except IOError:
|
||||
print("Test case path is invalid. Should only happen when use @bot to skip unit test.")
|
||||
|
||||
Reference in New Issue
Block a user