[issue10572] Move test sub-packages to Lib/test

2013-02-26 Thread Geoff Wilson
Geoff Wilson added the comment: Thanks Ned! Attached is an update for sqlite tests with the right patch format (issue10572-sqlite3-2.patch). May make sense to mention the hg diff --git format in: http://docs.python.org/devguide/patch.html -- Added file: http://bugs.python.org

[issue10572] Move test sub-packages to Lib/test

2013-02-26 Thread Geoff Wilson
Geoff Wilson added the comment: Attach updated patch for lib2to3 (issue10572-lib2to3-2.patch) -- Added file: http://bugs.python.org/file29250/issue10572-lib2to3-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10572

[issue10572] Move test sub-packages to Lib/test

2013-02-25 Thread Geoff Wilson
Geoff Wilson added the comment: Odd. I must be doing something wrong. My test workflow was: 1. hg mv a b 1a. modify files to resolve issues from the move 2. hg diff issue.patch # attached 3. hg revert --all 4. patch -p1 issue.patch Reading the hg docs more, I should have used 'hg

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-24 Thread Geoff Wilson
Geoff Wilson added the comment: Both are called at different points when running './python.exe -m test -j3': 1. In __main__.py, this is called once at the start of the test run. By putting TESTCWD as the first/name arg, the directory is created. 2. In regrtest.py, the main file is called per

[issue10572] Move test sub-packages to Lib/test

2013-02-24 Thread Geoff Wilson
Geoff Wilson added the comment: The move will need to be done by someone with commit access. These patches came from using hg mv. After doing the move, there is some cleanup needed in each. These changes are included in the attached patches

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Simplify to single build/test directory, and disambiguate by TEMPFN. Test suite run on Mac OS X (./python.exe -m test -j3) without error. Some files created by tests do not use TESTFN, so may have build bots identify issues. -- keywords: +patch nosy

[issue8890] Use tempfile instead of /tmp in examples

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Patch for 2.7, with most references to /tmp removed or replaced. References remain in Doc/install/index.rst and Doc/library/rexec.rst as they seem to make sense in context. -- nosy: +gmwils Added file: http://bugs.python.org/file29183/Issue8890.patch

[issue13952] mimetypes doesn't recognize .csv

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Patch against 2.7 to add csv to the internal list. It is popular enough as a format, that it should work even if the system mime files are stale. -- keywords: +patch nosy: +gmwils Added file: http://bugs.python.org/file29187/issue13952.patch

[issue8890] Use tempfile instead of /tmp in examples

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Attaching patch for 3.2 (Issue8890-3.2.patch) -- Added file: http://bugs.python.org/file29190/Issue8890-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8890

[issue8890] Use tempfile instead of /tmp in examples

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Attaching patch for 3.3 that also works for 3.4/default (Issue8890-3.3.patch) -- Added file: http://bugs.python.org/file29191/Issue8890-3.3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10572] Move test sub-packages to Lib/test

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Patch attached to move sqlite3 tests under Lib/test, and remove Lib/test/test_sqlite.py. Naming of files has been kept the same in the move from Lib/sqlite/test, to allow for easier merging of future patches. -- keywords: +patch nosy: +gmwils Added

[issue10572] Move test sub-packages to Lib/test

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Patch attached to move Lib/lib2to3/tests to Lib/test/test_lib2to3. -- Added file: http://bugs.python.org/file29209/issue10572-lib2to3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10572