1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/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)