diff --git a/tests/test_slots.py b/tests/test_slots.py index 2b06ed2ed..67b6cc4b2 100644 --- a/tests/test_slots.py +++ b/tests/test_slots.py @@ -8,6 +8,7 @@ import sys import types import weakref + from unittest import mock import pytest @@ -745,6 +746,7 @@ def f(self): assert B(11).f == 121 assert B(17).f == 289 + @attr.s(slots=True) class A: x = attr.ib()