Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_mmap.py::unmodified

== PyPy 3.12.13 (22398ecb2727, Aug 16 2026, 05:40:34) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_10276æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2678924997
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_mmap
test_around_2GB (test.test_mmap.LargeMmapTests.test_around_2GB) ... skipped 'test requires 6442450944 bytes and a long time to run'
test_around_4GB (test.test_mmap.LargeMmapTests.test_around_4GB) ... skipped 'test requires 6442450944 bytes and a long time to run'
test_large_filesize (test.test_mmap.LargeMmapTests.test_large_filesize) ... skipped 'test requires 6442450944 bytes and a long time to run'
test_large_offset (test.test_mmap.LargeMmapTests.test_large_offset) ... skipped 'test requires 6442450944 bytes and a long time to run'
test_access_parameter (test.test_mmap.MmapTests.test_access_parameter) ... FAIL
test_anonymous (test.test_mmap.MmapTests.test_anonymous) ... ERROR
test_bad_file_desc (test.test_mmap.MmapTests.test_bad_file_desc) ... ERROR
test_basic (test.test_mmap.MmapTests.test_basic) ... ERROR
test_concat_repeat_exception (test.test_mmap.MmapTests.test_concat_repeat_exception) ... ERROR
test_context_manager (test.test_mmap.MmapTests.test_context_manager) ... ERROR
test_context_manager_exception (test.test_mmap.MmapTests.test_context_manager_exception) ... ERROR
test_crasher_on_windows (test.test_mmap.MmapTests.test_crasher_on_windows) ... ERROR
test_double_close (test.test_mmap.MmapTests.test_double_close) ... ERROR
test_empty_file (test.test_mmap.MmapTests.test_empty_file) ... ERROR
test_entire_file (test.test_mmap.MmapTests.test_entire_file) ... ERROR
test_error (test.test_mmap.MmapTests.test_error) ... ERROR
test_extended_getslice (test.test_mmap.MmapTests.test_extended_getslice) ... ERROR
test_extended_set_del_slice (test.test_mmap.MmapTests.test_extended_set_del_slice) ... ERROR
test_find_does_not_access_beyond_buffer (test.test_mmap.MmapTests.test_find_does_not_access_beyond_buffer) ... ERROR
test_find_end (test.test_mmap.MmapTests.test_find_end) ... ERROR
test_flush_return_value (test.test_mmap.MmapTests.test_flush_return_value) ... ERROR
test_invalid_descriptor (test.test_mmap.MmapTests.test_invalid_descriptor) ... ERROR
test_io_methods (test.test_mmap.MmapTests.test_io_methods) ... ERROR
test_length_0_large_offset (test.test_mmap.MmapTests.test_length_0_large_offset) ... ERROR
test_length_0_offset (test.test_mmap.MmapTests.test_length_0_offset) ... ERROR
test_madvise (test.test_mmap.MmapTests.test_madvise) ... skipped 'needs madvise'
test_mmap_closed_by_int_scenarios (test.test_mmap.MmapTests.test_mmap_closed_by_int_scenarios)
gh-103987: Test that mmap objects raise ValueError ... ERROR
test_move (test.test_mmap.MmapTests.test_move) ... ERROR
test_non_ascii_byte (test.test_mmap.MmapTests.test_non_ascii_byte) ... ERROR
test_offset (test.test_mmap.MmapTests.test_offset) ... ERROR
test_prot_readonly (test.test_mmap.MmapTests.test_prot_readonly) ... skipped 'needs mmap.PROT_READ'
test_read_all (test.test_mmap.MmapTests.test_read_all) ... ERROR
test_read_invalid_arg (test.test_mmap.MmapTests.test_read_invalid_arg) ... ERROR
test_repr (test.test_mmap.MmapTests.test_repr) ... ERROR
test_resize_down_when_mapped_to_pagefile (test.test_mmap.MmapTests.test_resize_down_when_mapped_to_pagefile)
If the mmap is backed by the pagefile ensure a resize down up can happen ... ERROR
test_resize_fails_if_mapping_held_elsewhere (test.test_mmap.MmapTests.test_resize_fails_if_mapping_held_elsewhere)
If more than one mapping is held against a named file on Windows, neither ... ERROR
test_resize_past_pos (test.test_mmap.MmapTests.test_resize_past_pos) ... ERROR
test_resize_succeeds_with_error_for_second_named_mapping (test.test_mmap.MmapTests.test_resize_succeeds_with_error_for_second_named_mapping)
If a more than one mapping exists of the same name, none of them can ... ERROR
test_resize_up_when_mapped_to_pagefile (test.test_mmap.MmapTests.test_resize_up_when_mapped_to_pagefile)
If the mmap is backed by the pagefile ensure a resize up can happen ... ERROR
test_rfind (test.test_mmap.MmapTests.test_rfind) ... ERROR
test_sizeof (test.test_mmap.MmapTests.test_sizeof) ... skipped 'implementation detail specific to cpython'
test_subclass (test.test_mmap.MmapTests.test_subclass) ... ERROR
test_tagname (test.test_mmap.MmapTests.test_tagname) ... ERROR
test_tougher_find (test.test_mmap.MmapTests.test_tougher_find) ... ERROR
test_weakref (test.test_mmap.MmapTests.test_weakref) ... ERROR
test_write_returning_the_number_of_bytes_written (test.test_mmap.MmapTests.test_write_returning_the_number_of_bytes_written) ... ERROR

======================================================================
ERROR: test_anonymous (test.test_mmap.MmapTests.test_anonymous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_bad_file_desc (test.test_mmap.MmapTests.test_bad_file_desc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_basic (test.test_mmap.MmapTests.test_basic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_concat_repeat_exception (test.test_mmap.MmapTests.test_concat_repeat_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_context_manager (test.test_mmap.MmapTests.test_context_manager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_context_manager_exception (test.test_mmap.MmapTests.test_context_manager_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_crasher_on_windows (test.test_mmap.MmapTests.test_crasher_on_windows)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_double_close (test.test_mmap.MmapTests.test_double_close)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_empty_file (test.test_mmap.MmapTests.test_empty_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_entire_file (test.test_mmap.MmapTests.test_entire_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_error (test.test_mmap.MmapTests.test_error)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_extended_getslice (test.test_mmap.MmapTests.test_extended_getslice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_extended_set_del_slice (test.test_mmap.MmapTests.test_extended_set_del_slice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_find_does_not_access_beyond_buffer (test.test_mmap.MmapTests.test_find_does_not_access_beyond_buffer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_find_end (test.test_mmap.MmapTests.test_find_end)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_flush_return_value (test.test_mmap.MmapTests.test_flush_return_value)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_invalid_descriptor (test.test_mmap.MmapTests.test_invalid_descriptor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_io_methods (test.test_mmap.MmapTests.test_io_methods)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_length_0_large_offset (test.test_mmap.MmapTests.test_length_0_large_offset)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_length_0_offset (test.test_mmap.MmapTests.test_length_0_offset)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_mmap_closed_by_int_scenarios (test.test_mmap.MmapTests.test_mmap_closed_by_int_scenarios)
gh-103987: Test that mmap objects raise ValueError
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_move (test.test_mmap.MmapTests.test_move)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_non_ascii_byte (test.test_mmap.MmapTests.test_non_ascii_byte)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_offset (test.test_mmap.MmapTests.test_offset)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_read_all (test.test_mmap.MmapTests.test_read_all)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_read_invalid_arg (test.test_mmap.MmapTests.test_read_invalid_arg)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_repr (test.test_mmap.MmapTests.test_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_resize_down_when_mapped_to_pagefile (test.test_mmap.MmapTests.test_resize_down_when_mapped_to_pagefile)
If the mmap is backed by the pagefile ensure a resize down up can happen
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_resize_fails_if_mapping_held_elsewhere (test.test_mmap.MmapTests.test_resize_fails_if_mapping_held_elsewhere)
If more than one mapping is held against a named file on Windows, neither
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_resize_past_pos (test.test_mmap.MmapTests.test_resize_past_pos)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_resize_succeeds_with_error_for_second_named_mapping (test.test_mmap.MmapTests.test_resize_succeeds_with_error_for_second_named_mapping)
If a more than one mapping exists of the same name, none of them can
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_resize_up_when_mapped_to_pagefile (test.test_mmap.MmapTests.test_resize_up_when_mapped_to_pagefile)
If the mmap is backed by the pagefile ensure a resize up can happen
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_rfind (test.test_mmap.MmapTests.test_rfind)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_subclass (test.test_mmap.MmapTests.test_subclass)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_tagname (test.test_mmap.MmapTests.test_tagname)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_tougher_find (test.test_mmap.MmapTests.test_tougher_find)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_weakref (test.test_mmap.MmapTests.test_weakref)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
ERROR: test_write_returning_the_number_of_bytes_written (test.test_mmap.MmapTests.test_write_returning_the_number_of_bytes_written)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 36, in setUp
    os.unlink(TESTFN)
       ^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '@test_10276_tmpæ'

======================================================================
FAIL: test_access_parameter (test.test_mmap.MmapTests.test_access_parameter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 197, in test_access_parameter
    m = mmap.mmap(f.fileno(), mapsize+1)
             ^^^^
ValueError: mmap length is greater than file size

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_mmap.py", line 204, in test_access_parameter
    self.fail("Opening mmap with size+1 should work on Windows.")
         ^^^^
AssertionError: Opening mmap with size+1 should work on Windows.

----------------------------------------------------------------------
Ran 46 tests in 0.048s

FAILED (failures=1, errors=38, skipped=7)
0:00:00 [1/1/1] test_mmap failed (38 errors, 1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_mmap

Total duration: 347 ms
Total tests: run=46 failures=1 skipped=7
Total test files: run=1/1 failed=1
Result: FAILURE
Warning -- test_mmap left behind file '@test_10276_tmpæ'
test test_mmap failed
builder: pypy-c-jit-win-x86-64 build #2497+
test: lib-python/3/test/test_mmap.py::unmodified