mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 08:30:14 +08:00
* add config test * Fix typo Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update tests/config/test_config.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Reconstruct config test * Fix import logic and error test * Fix path error * Restructuring Config * simplify test logic simplify test logic * rename test_config file * add test complex dump and pretty text * adjust test sequence according to comment adjust test sequence according to comment * add comment and test for simple.config.py * add config test data * add init * remove __pycache__ * fix as comment * add syntax test case * remove tmp path and modify comment * add test for setattr Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
5 lines
155 B
Python
5 lines
155 B
Python
# Copyright (c) OpenMMLab. All rights reserved.
|
|
item5 = dict(a=0, b=1)
|
|
item6 = [dict(a=0), dict(b=1)]
|
|
item7 = dict(a=[0, 1, 2], b=dict(c=[3.1, 4.2, 5.3]))
|