Sign in
fuchsia
/
third_party
/
swig
/
3f3073547804f2e112085429ddfb691beba5a2ba
/
.
/
Examples
/
test-suite
/
python
/
imports_runme.py
blob: 3eec965a6516af5fb965424a9350415b4d227ef5 [
file
] [
log
] [
blame
]
# This is the import runtime testcase.
import
imports_b
import
imports_a
import
sys
x
=
imports_b
.
B
()
imports_a
.
A
.
hello
(
x
)
a
=
imports_a
.
A
()
c
=
imports_b
.
C
()
a1
=
c
.
get_a
(
c
)
a2
=
c
.
get_a_type
(
c
)
if
a1
.
hello
()
!=
a2
.
hello
():
raise
RuntimeError