[pypy-commit] pypy py3-winreg: CPython does not accept None and we don't either

mattip pypy.commits at gmail.com
Tue Jan 2 13:32:01 EST 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3-winreg
Changeset: r93611:c1d65fb9e61d
Date: 2018-01-02 20:31 +0200
http://bitbucket.org/pypy/pypy/changeset/c1d65fb9e61d/

Log:	CPython does not accept None and we don't either

diff --git a/pypy/module/_winreg/test/test_winreg.py b/pypy/module/_winreg/test/test_winreg.py
--- a/pypy/module/_winreg/test/test_winreg.py
+++ b/pypy/module/_winreg/test/test_winreg.py
@@ -246,7 +246,7 @@
                 skip("access denied to registry key "
                      "(are you running in a non-interactive session?)")
             raise
-        QueryValueEx(HKEY_PERFORMANCE_DATA, None)
+        QueryValueEx(HKEY_PERFORMANCE_DATA, 'Global')
 
     def test_reflection_unsupported(self):
         import sys


More information about the pypy-commit mailing list