New submission from Xavier de Gaye:
test_mmap fails on an android emulator running an x86 system image at API level
21.
======================================================================
ERROR: test_large_filesize (test.test_mmap.LargeMmapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_mmap.py", line 755,
in test_large_filesize
with self._make_test_file(0x17FFFFFFF, b" ") as f:
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_mmap.py", line 738,
in _make_test_file
f.seek(num_zeroes)
ValueError: cannot fit 'int' into an offset-sized integer
======================================================================
ERROR: test_large_offset (test.test_mmap.LargeMmapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_mmap.py", line 750,
in test_large_offset
with self._make_test_file(0x14FFFFFFF, b" ") as f:
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_mmap.py", line 738,
in _make_test_file
f.seek(num_zeroes)
ValueError: cannot fit 'int' into an offset-sized integer
----------------------------------------------------------------------
Ran 35 tests in 0.134s
FAILED (errors=2, skipped=6)
test test_mmap failed
1 test failed:
test_mmap
Total duration: 0:00:01
----------
components: Cross-Build, Library (Lib)
messages: 264726
nosy: Alex.Willmer, twouters, xdegaye
priority: normal
severity: normal
status: open
title: android: test_mmap fails
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26927>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com