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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 5 years, 9 months ago
Right Patch Set: Created 5 years, 6 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 | « Lib/test/test_weakset.py ('k') | Lib/test/test_with.py » ('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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 463
464 def test_main(): 464 def test_main():
465 support.run_unittest(LocalWinregTests, RemoteWinregTests, 465 support.run_unittest(LocalWinregTests, RemoteWinregTests,
466 Win64WinregTests) 466 Win64WinregTests)
467 467
468 if __name__ == "__main__": 468 if __name__ == "__main__":
469 if not REMOTE_NAME: 469 if not REMOTE_NAME:
470 print("Remote registry calls can be tested using", 470 print("Remote registry calls can be tested using",
471 "'test_winreg.py --remote \\\\machine_name'") 471 "'test_winreg.py --remote \\\\machine_name'")
472 test_main() 472 test_main()
LEFTRIGHT

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