Changeset 391 for python/trunk/Lib/test/test_whichdb.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/test/test_whichdb.py
r2 r391 8 8 import unittest 9 9 import whichdb 10 import anydbm11 10 import glob 12 11 13 12 _fname = test.test_support.TESTFN 13 14 # Silence Py3k warning 15 anydbm = test.test_support.import_module('anydbm', deprecated=True) 14 16 15 17 def _delete_files(): … … 38 40 # candidate database module. 39 41 try: 40 mod = __import__(name) 41 except ImportError: 42 # Silence Py3k warning 43 mod = test.test_support.import_module(name, deprecated=True) 44 except unittest.SkipTest: 42 45 continue 43 46
Note:
See TracChangeset
for help on using the changeset viewer.