#  tests for pysam-0.16.0.1-py37h3ee3bc3_2 (this is a generated file);
print('===== testing package: pysam-0.16.0.1-py37h3ee3bc3_2 =====');
print('running run_test.py');
#  --- run_test.py (begin) ---
import errno

# check simply importing works
import pysam

# check remote access capabilities are present
try:
    pysam.AlignmentFile('s3:expect_invalid_argument')
except EnvironmentError as e:
    # EPROTONOSUPPORT (Protocol not supported) would indicate no S3 capabilities
    assert e.errno == errno.EINVAL
#  --- run_test.py (end) ---

print('===== pysam-0.16.0.1-py37h3ee3bc3_2 OK =====');
