From 97995d664e03acb0ca52265644f515dca2f463ef Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 10 Aug 2013 15:37:12 +0200 Subject: [PATCH] extend test --- tests/build/package_compilation.srctree | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/build/package_compilation.srctree b/tests/build/package_compilation.srctree index 489a219..9f4dd69 100644 --- a/tests/build/package_compilation.srctree +++ b/tests/build/package_compilation.srctree @@ -46,6 +46,10 @@ MODULE = 'b' PACKAGE = 2 +from . import a +assert a.__name__ == 'toppkg.subpkg.a' +assert a.MODULE == 'subpkg.a' + ######## toppkg/subpkg/a.py ######## MODULE = 'subpkg.a' -- 2.7.4