[issue36580] unittest.mock does not understand dataclasses

Karthikeyan Singaravelan report at bugs.python.org
Mon Sep 9 08:58:05 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Closing this as not a bug since autospeccing with create_autospec can be used and spec only does attribute access validation.

Thanks

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36580>
_______________________________________


More information about the Python-bugs-list mailing list