From bfa764eda98d685e10500aad68e74d3ec96d3696 Mon Sep 17 00:00:00 2001 From: MeowZheng Date: Mon, 12 Apr 2021 13:35:47 +0800 Subject: [PATCH] typo --- tests/test_cnn/test_weight_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cnn/test_weight_init.py b/tests/test_cnn/test_weight_init.py index d85fbd402f..343079c45e 100644 --- a/tests/test_cnn/test_weight_init.py +++ b/tests/test_cnn/test_weight_init.py @@ -402,7 +402,7 @@ def test_initialize(): ]) initialize(foonet, init_cfg) - # test override with args except type + # test override with args except type key with pytest.raises(ValueError): init_cfg = dict( type='Constant', @@ -411,7 +411,7 @@ def test_initialize(): override=dict(name='conv2d_2', val=3, bias=4)) initialize(foonet, init_cfg) - # test override wiout name + # test override without name with pytest.raises(ValueError): init_cfg = dict( type='Constant',