[Python-Dev] cpython (merge 3.4 -> default): Added tests for more builtin types. (original) (raw)
Terry Reedy tjreedy at udel.edu
Sun May 17 19:00:28 CEST 2015
- Previous message (by thread): [Python-Dev] cpython (merge 3.4 -> default): Added tests for more builtin types.
- Next message (by thread): [Python-Dev] [Python-checkins] peps: Apply Chris's changes, including an acceptance mark
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/17/2015 1:57 AM, Serhiy Storchaka wrote:
On 17.05.15 02:44, Ned Deily wrote:
In article <20150516183940.21146.77232 at psf.io>, serhiy.storchaka <python-checkins at python.org> wrote:
https://hg.python.org/cpython/rev/7b350f712c0e changeset: 96099:7b350f712c0e parent: 96096:f0c94892ac31 parent: 96098:955dffec3d94 user: Serhiy Storchaka <storchaka at gmail.com> date: Sat May 16 21:35:56 2015 +0300 summary: Added tests for more builtin types. Made testpprint discoverable.
files: Lib/test/testpprint.py | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) ====================================================================== ERROR: testcoverage (test.testtrace.TestCoverage) ---------------------------------------------------------------------- Traceback (most recent call last): File "/py/dev/3x/root/uxd/lib/python3.5/test/testtrace.py", line 312, in testcoverage self.coverage(tracer) File "/py/dev/3x/root/uxd/lib/python3.5/test/testtrace.py", line 305, in coverage tracer.run(cmd) File "/py/dev/3x/root/uxd/lib/python3.5/trace.py", line 500, in run self.runctx(cmd, dict, dict) File "/py/dev/3x/root/uxd/lib/python3.5/trace.py", line 508, in runctx exec(cmd, globals, locals) File "", line 1, in AttributeError: module 'test.testpprint' has no attribute 'testmain' ====================================================================== ERROR: testcoverageignore (test.testtrace.TestCoverage) ---------------------------------------------------------------------- Traceback (most recent call last): File "/py/dev/3x/root/uxd/lib/python3.5/test/testtrace.py", line 327, in testcoverageignore self.coverage(tracer) File "/py/dev/3x/root/uxd/lib/python3.5/test/testtrace.py", line 305, in coverage tracer.run(cmd) File "/py/dev/3x/root/uxd/lib/python3.5/trace.py", line 500, in run self.runctx(cmd, dict, dict) File "/py/dev/3x/root/uxd/lib/python3.5/trace.py", line 508, in runctx exec(cmd, globals, locals) File "", line 1, in AttributeError: module 'test.testpprint' has no attribute 'testmain' Also breaks 3.4. Thank you Ned. Opened issue24215 for this because just restoring testmain perhaps not the best way.
test_trace can be easily modified to use test_pprint as revised. See issue.
-- Terry Jan Reedy
- Previous message (by thread): [Python-Dev] cpython (merge 3.4 -> default): Added tests for more builtin types.
- Next message (by thread): [Python-Dev] [Python-checkins] peps: Apply Chris's changes, including an acceptance mark
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]