diff --git a/tests/test_next_gen.py b/tests/test_next_gen.py index 98764d1f1..733ef3b76 100644 --- a/tests/test_next_gen.py +++ b/tests/test_next_gen.py @@ -368,3 +368,13 @@ class D(B, C): d = D() assert d.x == d.xx() + + +class TestAsTuple: + def test_smoke(self): + """ + `attrs.astuple` only changes defaults, so we just call it and compare. + """ + inst = C("foo", 42) + + assert attrs.astuple(inst) == _attr.astuple(inst)