# HG changeset patch # User Paul Boddie # Date 1353011238 -3600 # Node ID e302d65952f8b0c4d98ffa2115e266889f84f4b6 # Parent 258047e2cd793d63b0dd796824178002138236b0 Added a failing test of assignment to an unknown attribute. diff -r 258047e2cd79 -r e302d65952f8 tests/failure/attributes_instance_assignment_external_only.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/failure/attributes_instance_assignment_external_only.py Thu Nov 15 21:27:18 2012 +0100 @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +class C: + pass + +c = C() +c.a = 123 +result_123 = c.a + +# vim: tabstop=4 expandtab shiftwidth=4