743a96da-0d8c-49d0-8d26-89fb8eaa6e3b
Results
2
comments of
743a96da-0d8c-49d0-8d26-89fb8eaa6e3b
"a class" should most probably be replaced by "an instance" in the documentation for create_autospec. "You can use a class as the spec for an instance object by passing instance=True....
Yes, you're right. I do think the docs are a bit misleading. Maybe something like this would make it more clear? "If a class is used as a spec then...