Description: Handle possibility that 32-bit systems may throw OverflowError
 They used to only throw ValueError, it seems.
 Not forwarding as repo seems to be unmaintained.
Forwarded: https://github.com/danielrichman/strict-rfc3339/issues/10
Author: Julian Gilbey <jdg@debian.org>
Last-Update: 2024-05-06

--- a/test_strict_rfc3339.py
+++ b/test_strict_rfc3339.py
@@ -148,7 +148,7 @@
         try:
             assert self.func(4102444800) == "2100-01-01T00:00:00Z"
             assert self.func(-2208988800) == "1900-01-01T00:00:00Z"
-        except ValueError as e:
+        except (ValueError, OverflowError) as e:
             if str(e) == "timestamp out of range for platform time_t":
                 print("Warning: can't run this test on 32 bit")
             else:
@@ -162,7 +162,7 @@
         try:
             assert self.func(4107456000) == "2100-02-28T00:00:00Z"
             assert self.func(-2203977600) == "1900-02-28T00:00:00Z"
-        except ValueError as e:
+        except (ValueError, OverflowError) as e:
             if str(e) == "timestamp out of range for platform time_t":
                 print("Warning: can't run this test on 32 bit")
             else:
