diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-07 08:10:55 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-07 08:10:55 (GMT) |
commit | f28ba369dd068a76ff5b7efac58fdcb5c3eaf4dd (patch) | |
tree | 541cb209a2be79d6022ce5d47216755e9e9310a4 /Lib/test/test_time.py | |
parent | 622be340fdf4110c77e1f86bd13a01fc30c2bb65 (diff) | |
parent | 5cfc79deaeabf4af3c767665098a37da9f375eda (diff) | |
download | cpython-f28ba369dd068a76ff5b7efac58fdcb5c3eaf4dd.zip cpython-f28ba369dd068a76ff5b7efac58fdcb5c3eaf4dd.tar.gz cpython-f28ba369dd068a76ff5b7efac58fdcb5c3eaf4dd.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 c307bc1..b8721a2 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -582,6 +582,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 ( @@ -597,6 +598,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 ( @@ -616,6 +618,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 ( |