f.seek(number) raises ValueError (ValueError: cannot fit 'int' into an offset-sized integer) when 'number' is greater than the size allowed by off_t. ValueError is not handled in test_mmap to detect that large file is not supported.
With this patch, test_large_filesize and test_large_offset are skipped as expected on an Android emulator.