kuroko/test/testPackageImports.krk.expect

24 lines
645 B
Plaintext

Imported foo.__init__ as foo
<module 'foo' from ...>
AttributeError: 'module' object has no attribute 'bar'
Imported bar.__init__ as foo.bar
imported baz.krk as foo.bar.baz
<module 'foo.bar.baz' from ...>
<module 'foo' from ...>
<module 'foo.bar' from ...>
<module 'foo.bar.baz' from ...>
This is it!
<module 'foo' from ...>
<module 'foo.bar' from ...>
<module 'foo.bar.baz' from ...>
This is it!
<module 'foo.bar.baz' from ...>
This is it!
NameError: Undefined variable 'foo'.
<module 'foo.bar.baz' from ...>
This is it!
NameError: Undefined variable 'foo'.
This is it!
NameError: Undefined variable 'qux'.
NameError: Undefined variable 'foo'.