summaryrefslogtreecommitdiff
path: root/Lib/test/test_shelve.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_shelve.py')
-rw-r--r--Lib/test/test_shelve.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_shelve.py b/Lib/test/test_shelve.py
index ffcc98da56..3b20281a02 100644
--- a/Lib/test/test_shelve.py
+++ b/Lib/test/test_shelve.py
@@ -4,6 +4,8 @@ import shelve
import glob
from test import test_support
+test_support.import_module('anydbm', deprecated=True)
+
class TestCase(unittest.TestCase):
fn = "shelftemp" + os.extsep + "db"