summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-01 04:28:33 (GMT)
committerGeorg Brandl <georg@python.org>2009-04-01 04:28:33 (GMT)
commit4ed72acd68a1a1d90946e189c94b7d656719da45 (patch)
tree37afeb94df477404291adfa1742f22cd7b39fb6f /Lib/distutils/tests/test_msvc9compiler.py
parent99412e559bea9179394366a95ae1a2c1b0723c47 (diff)
downloadcpython-4ed72acd68a1a1d90946e189c94b7d656719da45.zip
cpython-4ed72acd68a1a1d90946e189c94b7d656719da45.tar.gz
cpython-4ed72acd68a1a1d90946e189c94b7d656719da45.tar.bz2
#5624: _winreg is winreg in Python 3.
Diffstat (limited to 'Lib/distutils/tests/test_msvc9compiler.py')
-rw-r--r--Lib/distutils/tests/test_msvc9compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_msvc9compiler.py b/Lib/distutils/tests/test_msvc9compiler.py
index aefadd6..11e5a47 100644
--- a/Lib/distutils/tests/test_msvc9compiler.py
+++ b/Lib/distutils/tests/test_msvc9compiler.py
@@ -48,8 +48,8 @@ class msvc9compilerTestCase(unittest.TestCase):
v = Reg.get_value(path, "lfitalic")
self.assert_(v in (0, 1))
- import _winreg
- HKCU = _winreg.HKEY_CURRENT_USER
+ import winreg
+ HKCU = winreg.HKEY_CURRENT_USER
keys = Reg.read_keys(HKCU, 'xxxx')
self.assertEquals(keys, None)