Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Delta Between Two Patch Sets: Lib/test/test_winreg.py

Issue 25778: winreg.EnumValue does not truncate strings correctly
Left Patch Set: Created 4 years, 4 months ago
Right Patch Set: Created 4 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | PC/winreg.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # Test the windows specific win32reg module. 1 # Test the windows specific win32reg module.
2 # Only win32reg functions not hit here: FlushKey, LoadKey and SaveKey 2 # Only win32reg functions not hit here: FlushKey, LoadKey and SaveKey
3 3
4 import os, sys, errno 4 import os, sys, errno
5 import unittest 5 import unittest
6 from test import support 6 from test import support
7 threading = support.import_module("threading") 7 threading = support.import_module("threading")
8 from platform import machine 8 from platform import machine
9 9
10 # Do this first so test will be skipped if module doesn't exist 10 # Do this first so test will be skipped if module doesn't exist
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 488
489 def test_main(): 489 def test_main():
490 support.run_unittest(LocalWinregTests, RemoteWinregTests, 490 support.run_unittest(LocalWinregTests, RemoteWinregTests,
491 Win64WinregTests) 491 Win64WinregTests)
492 492
493 if __name__ == "__main__": 493 if __name__ == "__main__":
494 if not REMOTE_NAME: 494 if not REMOTE_NAME:
495 print("Remote registry calls can be tested using", 495 print("Remote registry calls can be tested using",
496 "'test_winreg.py --remote \\\\machine_name'") 496 "'test_winreg.py --remote \\\\machine_name'")
497 test_main() 497 test_main()
LEFTRIGHT
« no previous file | PC/winreg.c » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+