Skip to content

Commit 46a0e56

Browse files
committed
update test_make_pose_config: remove incorrect conditions
1 parent 139dd99 commit 46a0e56

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

tests/pose_estimation_pytorch/config/test_make_pose_config.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -437,23 +437,6 @@ def test_update_config(data: dict):
437437
"detector": {"batch_size": 8, "epochs": 10, "save_epochs": 1},
438438
},
439439
},
440-
{
441-
"config": {"a": 1, "detector": None},
442-
"updates": {
443-
"a": 2,
444-
"detector.train_settings.epochs": 10,
445-
"detector.runner.snapshots.max_snapshots": 5,
446-
},
447-
"expected_result": {"a": 2, "detector": None},
448-
},
449-
{
450-
"config": {"a": 1},
451-
"updates": {
452-
"a": 2,
453-
"nonexistent.nested.key": 42,
454-
},
455-
"expected_result": {"a": 2},
456-
},
457440
],
458441
)
459442
def test_update_config_by_dotpath(data: dict):

0 commit comments

Comments
 (0)