~ubuntu-branches/ubuntu/oneiric/python2.6/oneiric

« back to all changes in this revision

Viewing changes to Lib/test/test_bsddb3.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-08-07 20:03:08 UTC
  • mfrom: (10.1.27 sid)
  • Revision ID: james.westby@ubuntu.com-20100807200308-bwsyymoc4donr9a9
Tags: 2.6.6~rc1-1ubuntu1
* Merge with Debian; remaining changes:
  - Regenerate the control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
import tempfile
8
8
import time
9
9
import unittest
10
 
from test.test_support import requires, verbose, run_unittest, unlink, rmtree
 
10
from test.test_support import requires, run_unittest, import_module
 
11
 
 
12
# Skip test if _bsddb module was not built.
 
13
import_module('_bsddb')
 
14
# Silence Py3k warning
 
15
import_module('bsddb', deprecated=True)
11
16
 
12
17
# When running as a script instead of within the regrtest framework, skip the
13
18
# requires test, since it's obvious we want to run them.