Commits

Philip Jenvey  committed badcf2d

explicitly skip

  • Participants
  • Parent commits 716fff8

Comments (0)

Files changed (2)

File lib-python/2.7/test/test_traceback.py

 
     def test_traceback_format(self):
         if traceback_print is None:
-            return
+            raise unittest.SkipTest('Requires _testcapi')
         try:
             raise KeyError('blah')
         except KeyError:

File lib-python/2.7/test/test_unicode.py

         try:
             from _testcapi import unicode_encodedecimal
         except ImportError:
-            return
+            raise unittest.SkipTest('Requires _testcapi')
         self.assertEqual(unicode_encodedecimal(u'123'),
                          b'123')
         self.assertEqual(unicode_encodedecimal(u'\u0663.\u0661\u0664'),