Issue #8531: Skip test_ascii_formatd if ctypes module is missing

This commit is contained in:
Victor Stinner 2010-04-25 23:09:27 +00:00
parent a27dcb76ee
commit 8c271b0c65
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,9 @@
# 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):