# Test that it works, and test that it's deprecated.
import unittest
-from test.support import check_warnings, run_unittest, cpython_only
+from test.support import check_warnings, run_unittest, cpython_only, import_module
+
+import_module('ctypes')
class FormatDeprecationTests(unittest.TestCase):
Tests
-----
+- Issue #8531: Skip test_ascii_formatd if ctypes module is missing
+
- Issue #3864: Skip three test_signal tests on freebsd6 because they fail
if any thread was previously started, most likely due to a platform bug.