This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Refactor test_winreg.py to use unittest.
Type: Stage:
Components: Tests Versions: Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, varmaa
Priority: normal Keywords: patch

Created on 2007-08-24 00:23 by varmaa, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
refactor_test_winreg.py.patch varmaa, 2007-08-24 00:23
Messages (2)
msg55232 - (view) Author: Atul Varma (varmaa) Date: 2007-08-24 00:23
This patch refactors test_winreg.py to use unittest.  When this patch is
applied, Lib/test/output/test_winreg can be removed.

I also made a few formatting changes to ensure that all lines are
constrained to 80-characters.

The original test_winreg.py took a command-line argument, "--remote", to
specify the name of a remote computer to run tests on.  For now, I've
added a unittest test called "testRemoteMachineRegistryWorks" which
raises a test_support.TestSkipped exception if the "--remote" argument
wasn't specified.  I'm not sure if this is optimal behavior; it can be
changed if not, of course.
msg55263 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-24 17:39
Thanks! Committed as rev. 57397.
History
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45347
2007-09-02 20:02:17loewissetkeywords: + patch
2007-08-24 17:39:07georg.brandlsetstatus: open -> closed
assignee: georg.brandl
resolution: accepted
messages: + msg55263
nosy: + georg.brandl
2007-08-24 00:23:08varmaacreate