From f71de3e9a017d698be8ee4db3e2ec5fbc68bfc8c Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 28 Jan 2003 17:20:44 +0000 Subject: Everything worked in both the distutils distro and in Python 2.3cvs, so merge from the bsddb-bsddb3-schizo-branch back to the trunk. --- Lib/bsddb/test/test_basics.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Lib/bsddb/test/test_basics.py') diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py index 25cc77cafc..224aef4044 100644 --- a/Lib/bsddb/test/test_basics.py +++ b/Lib/bsddb/test/test_basics.py @@ -12,7 +12,12 @@ import tempfile from pprint import pprint import unittest -from bsddb import db +try: + # For Python 2.3 + from bsddb import db +except ImportError: + # For earlier Pythons w/distutils pybsddb + from bsddb3 import db from test_all import verbose -- cgit v1.2.1