[issue15165] test_email: failure on Windows

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: This issue is not related to the email module, but it is a Windows limitation: datetime.datetime(1970, 1, 1).timestamp() raises a same OverflowError. -- ___ Python tracker ___

[issue15165] test_email: failure on Windows

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 367e376e5ba2 by Victor Stinner in branch '3.3': Close #15165: Fix test_email on Windows 64 bits http://hg.python.org/cpython/rev/367e376e5ba2 New changeset 651e8613e579 by Victor Stinner in branch 'default': (Merge 3.3) Close #15165: Fix test_email

[issue15165] test_email: failure on Windows

2012-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Is this something that has to be fixed during the freeze? The fix is trivial: s/1970/1990/g, but I planned to revisit TZ-dependent tests during the beta period. I think we don't use run_with_tz() enough. It would also be great to make it work on wind

[issue15165] test_email: failure on Windows

2012-06-25 Thread Stefan Krah
Stefan Krah added the comment: My timezone is CET, so that fits your explanation. Indeed, the failure also occurs on Windows 32-bit. -- title: test_email: failure on Windows 64-bit -> test_email: failure on Windows ___ Python tracker

[issue15165] test_email: failure on Windows 64-bit

2012-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am surprised that we don't see the same failure on 32-bit windows buildbot. Windows mktime does not support negative time_t in either 32 or 64 bit version: http://msdn.microsoft.com/en-us/library/d1y53h2a(v=vs.110).aspx We are probably just lucky and

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I don't have a Win 64 setup, but I think replacing 1970 with say 1990 in the tests should fix the problem. -- nosy: +Alexander.Belopolsky ___ Python tracker ___

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread R. David Murray
R. David Murray added the comment: I haven't touched localtime since pycon, so I presume this hasn't been detected before due to our lack of a windows 64bit buildbot. -- components: +email nosy: +barry, belopolsky priority: normal -> high ___ Python

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Same here with VS 2008. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue15165] test_email: failure on Windows 64-bit

2012-06-24 Thread Stefan Krah
New submission from Stefan Krah : I'm getting this failure in test_email (Windows 64-bit build): == ERROR: test_localtime_epoch_notz_daylight_false (test_utils.LocaltimeTests)