Home
last modified time | relevance | path

Searched refs:events1 (Results 1 – 3 of 3) sorted by relevance

/third_party/PyYAML/tests/lib/
Dtest_structure.py62 def _compare_events(events1, events2, full=False): argument
63 assert len(events1) == len(events2), (len(events1), len(events2))
64 for event1, event2 in zip(events1, events2):
75 events1 = None
79 events1 = list(yaml.parse(file))
82 _compare_events(events1, events2)
86 pprint.pprint(events1)
93 events1 = None
97 events1 = list(yaml.parse(file))
100 _compare_events(events1, events2, full=True)
[all …]
Dtest_emitter.py4 def _compare_events(events1, events2): argument
5 assert len(events1) == len(events2), (events1, events2)
6 for event1, event2 in zip(events1, events2):
/third_party/mindspore/tests/ut/python/dataset/
Dtest_callbacks.py128 events1 = []
130 my_cb1 = MyDSCallback(events=events1)
144 assert expected_events == events1
426 events1 = []
429 my_begin = Begin(events=events1, cb_id=1)
452 assert events1 == expected_events1