Files
meson/test cases/python3/2 extmodule/blaster.py
Eli Schwartz 6a0fabc647 mass rewrite of string formatting to use f-strings everywhere
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04 17:16:11 -05:00

15 lines
263 B
Python
Executable File

#!/usr/bin/env python3
import tachyon
import sys
result = tachyon.phaserize('shoot')
if not isinstance(result, int):
print('Returned result not an integer.')
sys.exit(1)
if result != 1:
print(f'Returned result {result} is not 1.')
sys.exit(1)