[Webkit-unassigned] [Bug 83583] test-webkitpy fails on metered_stream_unittest for non-US West Coast Time Zones

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 15:22:55 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83583





--- Comment #6 from Simon Pena <spena at igalia.com>  2012-04-10 15:22:54 PST ---
(In reply to comment #5)
> (From update of attachment 136526 [details])
> I would probably stop using self.timeoffset and just use a hard-coded value
> -- since it's just extra complexity now -- but it's up to you.

Weird. I removed the timezone offset calculations and restored the previous
hardcoded values. After that, I realized that the tests seem to be ignoring
the environment variable. I tried to debug it with pdb.set_trace(), and although
I can confirm that os.environ['TZ'] is the one I set, time.tzname still returns
my system's configuration.

I'll continue checking it tomorrow: if that doesn't work, we would still fail
in the cases you commented in comment #2.

Do you recall anything in this tests configuration (or in the test runner) that
could prevent time.tzset() from working?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list