A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-March/086572.html below:

[Python-Dev] test_io fails on test_1686475

[Python-Dev] test_io fails on test_1686475Amaury Forgeot d'Arc amauryfa at gmail.com
Mon Mar 2 00:13:46 CET 2009
Hello,

On Sun, Mar 1, 2009 at 23:04, Cesare Di Mauro <cesare.dimauro at a-tono.com> wrote:
> Running the test suite with Python 2.6.1 32 bit (compiled in DEBUG mode
> with Visual Studio Express Edition 2008) on Vista x64, I've got an assert
> error:
>
> test_1686475 (__main__.StatAttributeTests) ... Assertion failed:
> (__int64)(int)((in / 10000000) - secs_between_epochs) == ((in / 10000000)
> - secs_between_epochs), file ..\Modules\posixmodule.c, line 790
>
> I have no idea about this failure. Any hint?

The failing assertion comes from this code in posixmodule.c:

	/* XXX Win32 supports time stamps past 2038; we currently don't */
	*time_out = Py_SAFE_DOWNCAST((in / 10000000) - secs_between_epochs,
__int64, int);

the test (btw, it's in test_os.py) is trying
    os.stat(r"c:\pagefile.sys")

Can you please check the three time stamps of this file (creation,
update, access)?

-- 
Amaury Forgeot d'Arc
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4