[issue14080] Sporadic test_imp failure

Antoine Pitrou report at bugs.python.org
Sat Feb 25 18:07:13 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Le samedi 25 février 2012 à 16:59 +0000, Stefan Krah a écrit :
> Bad version:
> 
> $ ./python -m test test_dot
> [1/1] test_dot
> 1330188676.0 1330188676.0

This might be what triggers the issue, but it's not the cause. Even with
a bad mtime, the __file__ should still be the right one, so there must
be something else.

> It looks like os.stat.st_mtime returns full seconds here on Ubuntu:

It probably depends on the filesystem.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14080>
_______________________________________


More information about the Python-bugs-list mailing list