diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-09-09 09:26:15 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@python.org> | 2019-09-09 09:26:15 (GMT) |
commit | e223ba13d8d871ee58570dfca4e82a591189cc2f (patch) | |
tree | cbdf0f05e6761391815d3522755980f169872250 /Lib/test | |
parent | a6563650c835d50f7302971a5b145e94f9d0dc68 (diff) | |
download | cpython-e223ba13d8d871ee58570dfca4e82a591189cc2f.zip cpython-e223ba13d8d871ee58570dfca4e82a591189cc2f.tar.gz cpython-e223ba13d8d871ee58570dfca4e82a591189cc2f.tar.bz2 |
bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (#13239)
* bpo-32587: Make winreg.REG_MULTI_SZ support PendingFileRenameOperations
* Address review comments.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_winreg.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index 91a2bbc..5c25ec8 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py @@ -41,6 +41,7 @@ test_data = [ ("String Val", "A string value", REG_SZ), ("StringExpand", "The path is %path%", REG_EXPAND_SZ), ("Multi-string", ["Lots", "of", "string", "values"], REG_MULTI_SZ), + ("Multi-nul", ["", "", "", ""], REG_MULTI_SZ), ("Raw Data", b"binary\x00data", REG_BINARY), ("Big String", "x"*(2**14-1), REG_SZ), ("Big Binary", b"x"*(2**14), REG_BINARY), |