(self)
| 908 | @unittest.skipUnless(utc_offset(), |
| 909 | 'local time needs to be different from UTC') |
| 910 | def test_cert_time_to_seconds_timezone(self): |
| 911 | # Issue #19940: ssl.cert_time_to_seconds() returns wrong |
| 912 | # results if local timezone is not UTC |
| 913 | self.cert_time_ok("May 9 00:00:00 2007 GMT", 1178668800.0) |
| 914 | self.cert_time_ok("Jan 5 09:34:43 2018 GMT", 1515144883.0) |
| 915 | |
| 916 | def test_cert_time_to_seconds(self): |
| 917 | timestring = "Jan 5 09:34:43 2018 GMT" |
nothing calls this directly
no test coverage detected