kuroko/test/testPackageImports.krk.expect

24 lines
655 B
Plaintext
Raw Permalink Normal View History

2021-01-17 16:01:58 +03:00
Imported foo.__init__ as foo
<module 'foo' from ...>
AttributeError("'module' object has no attribute 'bar'")
2021-01-17 16:01:58 +03:00
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 ...>
2021-01-17 16:01:58 +03:00
This is it!
<module 'foo' from ...>
<module 'foo.bar' from ...>
<module 'foo.bar.baz' from ...>
2021-01-17 16:01:58 +03:00
This is it!
<module 'foo.bar.baz' from ...>
2021-01-17 16:01:58 +03:00
This is it!
NameError("Undefined variable 'foo'.")
<module 'foo.bar.baz' from ...>
2021-01-17 16:01:58 +03:00
This is it!
NameError("Undefined variable 'foo'.")
2021-01-17 16:01:58 +03:00
This is it!
NameError("Undefined variable 'qux'.")
NameError("Undefined variable 'foo'.")