summaryrefslogtreecommitdiff
path: root/Lib/test/test_cd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_cd.py')
-rwxr-xr-xLib/test/test_cd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_cd.py b/Lib/test/test_cd.py
index daad223828..edaa82bf45 100755
--- a/Lib/test/test_cd.py
+++ b/Lib/test/test_cd.py
@@ -2,8 +2,9 @@
"""Whimpy test script for the cd module
Roger E. Masse
"""
-import cd
-from test.test_support import verbose
+from test.test_support import verbose, import_module
+
+cd = import_module('cd')
cdattrs = ['BLOCKSIZE', 'CDROM', 'DATASIZE', 'ERROR', 'NODISC', 'PAUSED', 'PLAYING', 'READY',
'STILL', '__doc__', '__name__', 'atime', 'audio', 'catalog', 'control', 'createparser', 'error',