New submission from Wöllert <franz.woell...@gmail.com>:

When running tests I encounter the following error for the test:

test_sock_sendfile_not_regular_file 
(test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests)

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!

Program: ...\EP2018\cpython\PCbuild\win32\python_d.exe
File: minkernel\crts\ucrt\src\appcrt\lowio\osfinfo.cpp
Line: 257

Expression: fh >= 0 && (unsigned)fh < (unsigned)_nhandle


---------------------------

However, when ignoring the MSCR error, the tests succeed without failing.

In addition the following failed (but not consistently):

======================================================================
FAIL: test_sendfile_close_peer_in_the_middle_of_receiving 
(test.test_asyncio.test_events.ProactorEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"C:\Users\woellert\Desktop\EP2018\cpython\lib\test\test_asyncio\test_events.py",
 line 2510, in test_sendfile_close_peer_in_the_middle_of_receiving
    self.file.tell())
AssertionError: False is not true : 131072

----------------------------------------------------------------------


Specs: Windows 7 SP1 64bit, 

Process:
- Cloned master from github
- Installed Visual Studio 2017 Community
- Compiled with `PCbuild\build.bat -e -d` (also used 64bit via -p x64)
- Ran tests with `python.bat -m test.test_asyncio -v`

----------
components: Build, Windows, asyncio
messages: 322558
nosy: asvetlov, pansen, paul.moore, steve.dower, tim.golden, yselivanov, 
zach.ware
priority: normal
severity: normal
status: open
title: Asyncio test fails under Win 7
type: crash
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34262>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to