diff options
Diffstat (limited to 'Lib/test/test_time.py')
-rw-r--r-- | Lib/test/test_time.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index e3d75da..57011d1 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -622,6 +622,9 @@ class _TestStrftimeYear: def yearstr(self, y): return time.strftime('%Y', (y,) + (0,) * 8) + @unittest.skipUnless( + support.has_strftime_extensions, "requires strftime extension" + ) def test_4dyear(self): # Check that we can return the zero padded value. if self._format == '%04d': |