mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
(minor) Fix Flake8.
This commit is contained in:
parent
61242bf86a
commit
f3c138a208
@ -67,4 +67,4 @@ def test_skip_torch_weight_init_restores_base_class_behavior():
|
|||||||
_ = torch.nn.Conv1d(10, 20, 3)
|
_ = torch.nn.Conv1d(10, 20, 3)
|
||||||
torch.nn.modules.conv._ConvNd.reset_parameters = saved_fn
|
torch.nn.modules.conv._ConvNd.reset_parameters = saved_fn
|
||||||
|
|
||||||
assert called_monkey_patched_fn == True
|
assert called_monkey_patched_fn
|
||||||
|
Loading…
Reference in New Issue
Block a user