File: update-for-tzdata-2023c-8.patch

package info (click to toggle)
python-agate 1.13.0-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,008 kB
  • sloc: python: 8,578; makefile: 126
file content (16 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: update for tzdata (2023c-8) (see Debian: #1040997)
Author: tony mancill <tmancill@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052831
Forwarded: no

--- a/tests/test_data_types.py
+++ b/tests/test_data_types.py
@@ -357,7 +357,7 @@
         ))
 
     def test_cast_parser_timezone(self):
-        tzinfo = ZoneInfo('US/Pacific')
+        tzinfo = ZoneInfo('America/Los_Angeles')
         datetime_type = DateTime(timezone=tzinfo)
 
         values = ('3/1/1994 12:30 PM', '2/17/2011 06:30', None, 'January 5th, 1984 22:37', 'n/a')