tests/attr_providers.py | raw changeset files shortlog |
1.1 --- a/tests/attr_providers.py Mon Oct 17 15:39:07 2016 +0200 1.2 +++ b/tests/attr_providers.py Mon Oct 17 18:56:34 2016 +0200 1.3 @@ -16,6 +16,13 @@ 1.4 def f(x): 1.5 return x.a, x.b 1.6 1.7 +def g(x): 1.8 + 1.9 + # Should only permit D instance and E. 1.10 + 1.11 + x.a = 7 1.12 + x.b = 8 1.13 + 1.14 c = C() 1.15 d = D() 1.16 e = E()