Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/test/test_whichdb.py

    r2 r391  
    88import unittest
    99import whichdb
    10 import anydbm
    1110import glob
    1211
    1312_fname = test.test_support.TESTFN
     13
     14# Silence Py3k warning
     15anydbm = test.test_support.import_module('anydbm', deprecated=True)
    1416
    1517def _delete_files():
     
    3840    # candidate database module.
    3941    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:
    4245        continue
    4346
Note: See TracChangeset for help on using the changeset viewer.