Author: Matti Picus <matti.pi...@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
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to