diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-08-28 14:54:05 +0300 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2020-08-28 14:54:05 +0300 |
commit | 4613460eecdef53e73e991230f38d1abc7d2e944 (patch) | |
tree | 944824fc4f577e930a7801f7e9a7338705f9bfa8 | |
parent | typo (diff) | |
download | pypy-4613460eecdef53e73e991230f38d1abc7d2e944.tar.gz pypy-4613460eecdef53e73e991230f38d1abc7d2e944.tar.bz2 pypy-4613460eecdef53e73e991230f38d1abc7d2e944.zip |
fix test for pypy
-rw-r--r-- | lib-python/3/test/test_strftime.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-python/3/test/test_strftime.py b/lib-python/3/test/test_strftime.py index ec305e54ff..774093d66c 100644 --- a/lib-python/3/test/test_strftime.py +++ b/lib-python/3/test/test_strftime.py @@ -186,8 +186,9 @@ class Y1900Tests(unittest.TestCase): def test_y_before_1900(self): # Issue #13674, #19634 + # PyPy uses wcsftime on windows, see timemodule.c t = (1899, 1, 1, 0, 0, 0, 0, 0, 0) - if (sys.platform == "win32" + if (0 # sys.platform == "win32" or sys.platform.startswith(("aix", "sunos", "solaris"))): with self.assertRaises(ValueError): time.strftime("%y", t) |