projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f98b0
)
extend test
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 10 Aug 2013 13:37:12 +0000
(15:37 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 10 Aug 2013 13:37:12 +0000
(15:37 +0200)
tests/build/package_compilation.srctree
patch
|
blob
|
history
diff --git
a/tests/build/package_compilation.srctree
b/tests/build/package_compilation.srctree
index
489a219
..
9f4dd69
100644
(file)
--- 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'