# HG changeset patch # User Paul Boddie # Date 1394889430 -3600 # Node ID 65649d588488090a2d9338bf568d250d6a6b94b5 # Parent ca3b724cf6c927e34af44c0846234d827b632ba5 Added a test of nested namespaces involving classes. diff -r ca3b724cf6c9 -r 65649d588488 tests/nested_namespaces.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/nested_namespaces.py Sat Mar 15 14:17:10 2014 +0100 @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +c = 123 + +class A: + def b(self): + return c + c = 456 + +a = A() +result_123 = a.b() + +# vim: tabstop=4 expandtab shiftwidth=4