# Test struct pack/unpack with 'e' typecode. try: import struct except ImportError: print("SKIP") raise SystemExit test_values = ( 1e-7, 2e-7, 1e-6, 1e-5, 1e-4, 1e-3, 1e-2, 0.1, 0, 1, 2, 4, 8, 10, 100, 1e3, 1e4, 6e4, float("inf"), ) for j in test_values: for i in (j, -j): x = struct.pack("