def test_update_registered_buffers(): foo = Foo() with pytest.raises(ValueError): update_registered_buffers(foo, "conv1", ["qweight"], {})
def test_update_registered_buffers(): foo = Foo() with pytest.raises(ValueError): update_registered_buffers(foo, 'conv1', ['qweight'], {})