From ea06fec962b319a9f6dc5551b92d0d4e4c2e74fb Mon Sep 17 00:00:00 2001 From: Kevin Modzelewski Date: Tue, 27 Oct 2015 08:31:54 +0000 Subject: [PATCH 1/3] These cpython tests are passing now --- from_cpython/Lib/test/test_ascii_formatd.py | 1 - from_cpython/Lib/test/test_docxmlrpc.py | 1 - from_cpython/Lib/test/test_hashlib.py | 1 - from_cpython/Lib/test/test_poll.py | 1 - from_cpython/Lib/test/test_pyclbr.py | 1 - from_cpython/Lib/test/test_readline.py | 1 - from_cpython/Lib/test/test_smtplib.py | 1 - from_cpython/Lib/test/test_threadedtempfile.py | 1 - test/CPYTHON_TEST_NOTES.md | 7 ------- 9 files changed, 15 deletions(-) diff --git a/from_cpython/Lib/test/test_ascii_formatd.py b/from_cpython/Lib/test/test_ascii_formatd.py index bcc32f6f0..c4a616dc8 100644 --- a/from_cpython/Lib/test/test_ascii_formatd.py +++ b/from_cpython/Lib/test/test_ascii_formatd.py @@ -1,4 +1,3 @@ -# expected: fail # PyOS_ascii_formatd is deprecated and not called from anywhere in # Python itself. So this module is the only place it gets tested. # Test that it works, and test that it's deprecated. diff --git a/from_cpython/Lib/test/test_docxmlrpc.py b/from_cpython/Lib/test/test_docxmlrpc.py index cb36f6eb3..80d18036a 100644 --- a/from_cpython/Lib/test/test_docxmlrpc.py +++ b/from_cpython/Lib/test/test_docxmlrpc.py @@ -1,4 +1,3 @@ -# expected: fail from DocXMLRPCServer import DocXMLRPCServer import httplib import sys diff --git a/from_cpython/Lib/test/test_hashlib.py b/from_cpython/Lib/test/test_hashlib.py index d9f6fad0e..dac945c97 100644 --- a/from_cpython/Lib/test/test_hashlib.py +++ b/from_cpython/Lib/test/test_hashlib.py @@ -1,4 +1,3 @@ -# expected: fail # Test hashlib module # # $Id$ diff --git a/from_cpython/Lib/test/test_poll.py b/from_cpython/Lib/test/test_poll.py index 2c5823e62..1e195ed62 100644 --- a/from_cpython/Lib/test/test_poll.py +++ b/from_cpython/Lib/test/test_poll.py @@ -1,4 +1,3 @@ -# expected: fail # Test case for the os.poll() function import os diff --git a/from_cpython/Lib/test/test_pyclbr.py b/from_cpython/Lib/test/test_pyclbr.py index 474eeb203..7bdc555cd 100644 --- a/from_cpython/Lib/test/test_pyclbr.py +++ b/from_cpython/Lib/test/test_pyclbr.py @@ -1,4 +1,3 @@ -# expected: fail ''' Test cases for pyclbr.py Nick Mathewson diff --git a/from_cpython/Lib/test/test_readline.py b/from_cpython/Lib/test/test_readline.py index ed60f58b3..945c7f40f 100644 --- a/from_cpython/Lib/test/test_readline.py +++ b/from_cpython/Lib/test/test_readline.py @@ -1,4 +1,3 @@ -# expected: fail """ Very minimal unittests for parts of the readline module. diff --git a/from_cpython/Lib/test/test_smtplib.py b/from_cpython/Lib/test/test_smtplib.py index 87a0e432c..aa90eab85 100644 --- a/from_cpython/Lib/test/test_smtplib.py +++ b/from_cpython/Lib/test/test_smtplib.py @@ -1,4 +1,3 @@ -# expected: fail import asyncore import email.utils import socket diff --git a/from_cpython/Lib/test/test_threadedtempfile.py b/from_cpython/Lib/test/test_threadedtempfile.py index b8f2f580e..81d9687be 100644 --- a/from_cpython/Lib/test/test_threadedtempfile.py +++ b/from_cpython/Lib/test/test_threadedtempfile.py @@ -1,4 +1,3 @@ -# expected: fail """ Create and delete FILES_PER_THREAD temp files (via tempfile.TemporaryFile) in each of NUM_THREADS threads, recording the number of successes and diff --git a/test/CPYTHON_TEST_NOTES.md b/test/CPYTHON_TEST_NOTES.md index 10cbe8703..846ae4af1 100644 --- a/test/CPYTHON_TEST_NOTES.md +++ b/test/CPYTHON_TEST_NOTES.md @@ -23,7 +23,6 @@ test_aifc Unsupported subclassing from file? test_al No module named al test_applesingle Not really a failure, but it tries to skip itself and we don't support that test_argparse [unknown] -test_ascii_formattd [unknown] test_ast [unknown] test_asynchat [unknown] test_asyncore [unknown] @@ -88,7 +87,6 @@ test_distutils [unknown] test_dis [unknown] test_dl [unknown] test_doctest hard to know. also missing some input files -test_docxmlrpc [unknown] test_dumbdbm [unknown] test_email_codecs [unknown] test_email_renamed [unknown] @@ -118,7 +116,6 @@ test_getargs2 [unknown] test_global SyntaxWarnings for global statements after uses test_gl [unknown] test_grammar bug in our tokenizer -test_hashlib [unknown] test_heapq [unknown] test_hotshot [unknown] test_httplib [unknown] @@ -172,13 +169,11 @@ test_pep352 various unique bugs test_pickletools [unknown] test_pickle unknown test_pkg unknown bug -test_poll [unknown] test_poplib [unknown] test_pprint [unknown] test_print [unknown] test_profile [unknown] test_py3kwarn [unknown] -test_pyclbr [unknown] test_py_compile [unknown] test_pydoc [unknown] test_random long("invalid number") @@ -195,7 +190,6 @@ test_shelve [unknown] test_shlex [unknown] test_signal [unknown] test_site [unknown] -test_smtplib [unknown] test_smtpnet [unknown] test_socketserver [unknown] test_socket [unknown] @@ -225,7 +219,6 @@ test_tcl [unknown] test_telnetlib [unknown] test_tempfile [unknown] test_threaded_import [unknown] -test_threadedtempfile [unknown] test_threading_local [unknown] test_threading [unknown] test_threadsignals [unknown] From ae59e9d7895354891e8d5897fc032e89b0e880c9 Mon Sep 17 00:00:00 2001 From: Kevin Modzelewski Date: Wed, 28 Oct 2015 04:48:18 +0000 Subject: [PATCH 2/3] Guess this one is not passing reliably --- from_cpython/Lib/test/test_ascii_formatd.py | 1 + test/CPYTHON_TEST_NOTES.md | 1 + 2 files changed, 2 insertions(+) diff --git a/from_cpython/Lib/test/test_ascii_formatd.py b/from_cpython/Lib/test/test_ascii_formatd.py index c4a616dc8..bcc32f6f0 100644 --- a/from_cpython/Lib/test/test_ascii_formatd.py +++ b/from_cpython/Lib/test/test_ascii_formatd.py @@ -1,3 +1,4 @@ +# expected: fail # PyOS_ascii_formatd is deprecated and not called from anywhere in # Python itself. So this module is the only place it gets tested. # Test that it works, and test that it's deprecated. diff --git a/test/CPYTHON_TEST_NOTES.md b/test/CPYTHON_TEST_NOTES.md index 846ae4af1..57563aa3a 100644 --- a/test/CPYTHON_TEST_NOTES.md +++ b/test/CPYTHON_TEST_NOTES.md @@ -23,6 +23,7 @@ test_aifc Unsupported subclassing from file? test_al No module named al test_applesingle Not really a failure, but it tries to skip itself and we don't support that test_argparse [unknown] +test_ascii_formatd segfault in ctypes (but only on CI) test_ast [unknown] test_asynchat [unknown] test_asyncore [unknown] From 1d1508ffed1fc50f93e42f49943a749ed35d3558 Mon Sep 17 00:00:00 2001 From: Kevin Modzelewski Date: Fri, 30 Oct 2015 05:09:17 +0000 Subject: [PATCH 3/3] test_pyclbr.py somehow takes very long in debug mode --- from_cpython/Lib/test/test_pyclbr.py | 3 +++ test/CPYTHON_TEST_NOTES.md | 1 + 2 files changed, 4 insertions(+) diff --git a/from_cpython/Lib/test/test_pyclbr.py b/from_cpython/Lib/test/test_pyclbr.py index 7bdc555cd..c845b97d7 100644 --- a/from_cpython/Lib/test/test_pyclbr.py +++ b/from_cpython/Lib/test/test_pyclbr.py @@ -1,3 +1,6 @@ +# skip-if: True +# - This test passes but takes an extremely long time in debug mode + ''' Test cases for pyclbr.py Nick Mathewson diff --git a/test/CPYTHON_TEST_NOTES.md b/test/CPYTHON_TEST_NOTES.md index 57563aa3a..b0ffff182 100644 --- a/test/CPYTHON_TEST_NOTES.md +++ b/test/CPYTHON_TEST_NOTES.md @@ -175,6 +175,7 @@ test_pprint [unknown] test_print [unknown] test_profile [unknown] test_py3kwarn [unknown] +test_pyclbr This test passes but takes a very long time in debug mode (60s vs 5s for release mode). test_py_compile [unknown] test_pydoc [unknown] test_random long("invalid number")