[Python-checkins] r80495 - in python/branches/release31-maint: Lib/test/test_ascii_formatd.py Misc/NEWS
victor.stinner
python-checkins at python.org
Mon Apr 26 01:09:27 CEST 2010
Author: victor.stinner
Date: Mon Apr 26 01:09:27 2010
New Revision: 80495
Log:
Issue #8531: Skip test_ascii_formatd if ctypes module is missing
Modified:
python/branches/release31-maint/Lib/test/test_ascii_formatd.py
python/branches/release31-maint/Misc/NEWS
Modified: python/branches/release31-maint/Lib/test/test_ascii_formatd.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_ascii_formatd.py (original)
+++ python/branches/release31-maint/Lib/test/test_ascii_formatd.py Mon Apr 26 01:09:27 2010
@@ -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):
Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS (original)
+++ python/branches/release31-maint/Misc/NEWS Mon Apr 26 01:09:27 2010
@@ -123,6 +123,8 @@
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.
More information about the Python-checkins
mailing list