Sign in
qemu
/
meson
/
refs/heads/cppmodules
/
.
/
test cases
/
python
/
2 extmodule
/
blaster.py
blob: 1f01876457fff3dcb65fd99003045845d1261f69 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
tachyon
result
=
tachyon
.
phaserize
(
'shoot'
)
if
not
isinstance
(
result
,
int
):
raise
SystemExit
(
'Returned result not an integer.'
)
if
result
!=
1
:
raise
SystemExit
(
'Returned result {} is not 1.'
.
format
(
result
))