diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-07 08:06:39 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-07 08:06:39 (GMT) |
commit | 5cfc79deaeabf4af3c767665098a37da9f375eda (patch) | |
tree | 2696e5c9674d11398f0d207d58d1fcdd3ee420eb /Lib/test/test_time.py | |
parent | fe4ef392d5df73639337f02db2ad8100d615067d (diff) | |
download | cpython-5cfc79deaeabf4af3c767665098a37da9f375eda.zip cpython-5cfc79deaeabf4af3c767665098a37da9f375eda.tar.gz cpython-5cfc79deaeabf4af3c767665098a37da9f375eda.tar.bz2 |
Issue #20532: Tests which use _testcapi now are marked as CPython only.
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 ae3113a..1a4d873a 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -573,6 +573,7 @@ class TestPytime(unittest.TestCase): -(2.0 ** 100.0), 2.0 ** 100.0, ) + @support.cpython_only def test_time_t(self): from _testcapi import pytime_object_to_time_t for obj, time_t in ( @@ -588,6 +589,7 @@ class TestPytime(unittest.TestCase): for invalid in self.invalid_values: self.assertRaises(OverflowError, pytime_object_to_time_t, invalid) + @support.cpython_only def test_timeval(self): from _testcapi import pytime_object_to_timeval for obj, timeval in ( @@ -607,6 +609,7 @@ class TestPytime(unittest.TestCase): for invalid in self.invalid_values: self.assertRaises(OverflowError, pytime_object_to_timeval, invalid) + @support.cpython_only def test_timespec(self): from _testcapi import pytime_object_to_timespec for obj, timespec in ( |