[pypy-commit] pypy py3.5: Skip this test class on pypy (_testcapi exists, but doesn't contain the

arigo pypy.commits at gmail.com
Wed Dec 7 04:23:36 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r88927:9f9c864141b1
Date: 2016-12-07 10:22 +0100
http://bitbucket.org/pypy/pypy/changeset/9f9c864141b1/

Log:	Skip this test class on pypy (_testcapi exists, but doesn't contain
	the internals needed here)

diff --git a/lib-python/3/test/test_time.py b/lib-python/3/test/test_time.py
--- a/lib-python/3/test/test_time.py
+++ b/lib-python/3/test/test_time.py
@@ -734,8 +734,7 @@
         self.assertIs(lt.tm_zone, None)
 
 
- at unittest.skipUnless(_testcapi is not None,
-                     'need the _testcapi module')
+ at support.cpython_only
 class TestPyTime_t(unittest.TestCase):
     def test_FromSeconds(self):
         from _testcapi import PyTime_FromSeconds


More information about the pypy-commit mailing list