tests: Add another testcase for relative imports.

pull/1130/head
Paul Sokolovsky 2015-02-16 12:10:14 +02:00
rodzic 9e6c82960e
commit ee831cafa9
4 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,2 @@
# This tests relative imports as used in pkg6
import pkg6

Wyświetl plik

@ -0,0 +1,2 @@
from .x import *
print('init')

Wyświetl plik

@ -0,0 +1,2 @@
from .y import *
print('x')

Wyświetl plik

@ -0,0 +1 @@
print('y')