mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (#13239)
* bpo-32587: Make winreg.REG_MULTI_SZ support PendingFileRenameOperations * Address review comments.
This commit is contained in:
parent
a6563650c8
commit
e223ba13d8
3 changed files with 27 additions and 16 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue