Moved Unicode C API related tests to separate test class.
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index 93224e1..0f2cf21 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -1665,6 +1665,13 @@
         self.assertEqual("%s" % u, u'__unicode__ overridden')
         self.assertEqual("{}".format(u), '__unicode__ overridden')
 
+    def test_free_after_iterating(self):
+        test_support.check_free_after_iterating(self, iter, unicode)
+        test_support.check_free_after_iterating(self, reversed, unicode)
+
+
+class CAPITest(unittest.TestCase):
+
     # Test PyUnicode_FromFormat()
     def test_from_format(self):
         test_support.import_module('ctypes')
@@ -1857,11 +1864,6 @@
                     unicode_encodedecimal(u"123" + s, "xmlcharrefreplace"),
                     '123' + exp)
 
-    def test_free_after_iterating(self):
-        test_support.check_free_after_iterating(self, iter, unicode)
-        test_support.check_free_after_iterating(self, reversed, unicode)
-
-
 def test_main():
     test_support.run_unittest(__name__)