#  tests for pysam-0.22.1-py311h1f0e11c_2 (this is a generated file);
print('===== testing package: pysam-0.22.1-py311h1f0e11c_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.22.1-py311h1f0e11c_2 OK =====');
