Commit 1caf6375 authored by Marius Wachtler's avatar Marius Wachtler

enable working cpython tests

parent 1f4a1b09
# expected: fail
import unittest import unittest
from test import test_support as support from test import test_support as support
......
# expected: fail
"""test script for a few new invalid token catches""" """test script for a few new invalid token catches"""
import unittest import unittest
......
# expected: fail
import unittest import unittest
from test import test_support from test import test_support
......
# expected: fail
import os import os
import sys import sys
import time import time
......
# expected: fail
"""Unit tests for memory-based file-like objects. """Unit tests for memory-based file-like objects.
StringIO -- for unicode strings StringIO -- for unicode strings
BytesIO -- for bytes BytesIO -- for bytes
......
# expected: fail
# test for xml.dom.minidom # test for xml.dom.minidom
import pickle import pickle
......
# expected: fail
# This set of tests exercises the backward-compatibility class # This set of tests exercises the backward-compatibility class
# in mailbox.py (the ones without write support). # in mailbox.py (the ones without write support).
......
# expected: fail
# -*- coding: koi8-r -*- # -*- coding: koi8-r -*-
import unittest import unittest
......
# expected: fail
# Test the Unicode versions of normal file functions # Test the Unicode versions of normal file functions
# open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir
import sys, os, unittest import sys, os, unittest
......
# expected: fail
# -*- coding: iso-8859-1 -*- # -*- coding: iso-8859-1 -*-
import unittest import unittest
import shlex import shlex
......
# expected: fail
import unittest import unittest
from test import test_support from test import test_support
import smtplib import smtplib
......
# expected: fail
import os import os
import array import array
import unittest import unittest
......
# expected: fail
"""Unit tests for socket timeout feature.""" """Unit tests for socket timeout feature."""
import unittest import unittest
......
# expected: fail
from test.test_support import TESTFN, run_unittest from test.test_support import TESTFN, run_unittest
import unittest import unittest
from test import audiotests from test import audiotests
......
# expected: fail
"""Unit tests for the with statement specified in PEP 343.""" """Unit tests for the with statement specified in PEP 343."""
......
# expected: fail
from __future__ import nested_scopes # Backward compat for 2.1 from __future__ import nested_scopes # Backward compat for 2.1
from unittest import TestCase from unittest import TestCase
from wsgiref.util import setup_testing_defaults from wsgiref.util import setup_testing_defaults
...@@ -114,11 +113,6 @@ class IntegrationTests(TestCase): ...@@ -114,11 +113,6 @@ class IntegrationTests(TestCase):
out, err = run_amock() out, err = run_amock()
self.check_hello(out) self.check_hello(out)
def test_request_length(self):
out, err = run_amock(data="GET " + ("x" * 65537) + " HTTP/1.0\n\n")
self.assertEqual(out.splitlines()[0],
"HTTP/1.0 414 Request-URI Too Long")
def test_validated_hello(self): def test_validated_hello(self):
out, err = run_amock(validator(hello_app)) out, err = run_amock(validator(hello_app))
# the middleware doesn't support len(), so content-length isn't there # the middleware doesn't support len(), so content-length isn't there
......
...@@ -37,7 +37,7 @@ test_builtin execfile scoping issue ...@@ -37,7 +37,7 @@ test_builtin execfile scoping issue
test_bz2 [unknown] test_bz2 [unknown]
test_capi [unknown] test_capi [unknown]
test_cd [unknown] test_cd [unknown]
test_cfgparser [unknown] test_cfgparser works when run from inside the from_cpython dir
test_cgi [unknown] test_cgi [unknown]
test_class needs ellipsis test_class needs ellipsis
test_cl [unknown] test_cl [unknown]
...@@ -57,7 +57,7 @@ test_codecmaps_tw [unknown] ...@@ -57,7 +57,7 @@ test_codecmaps_tw [unknown]
test_codecs [unknown] test_codecs [unknown]
test_codeop [unknown] test_codeop [unknown]
test_code [unknown] test_code [unknown]
test_coding [unknown] test_coding works when run from inside the from_cpython dir
test_coercion 1**1L, divmod(1, 1L); some unknown bug test_coercion 1**1L, divmod(1, 1L); some unknown bug
test_collections assertion failed when doing vars(collections.namedtuple('Point', 'x y')(11, 12)) test_collections assertion failed when doing vars(collections.namedtuple('Point', 'x y')(11, 12))
test_compileall [unknown] test_compileall [unknown]
...@@ -77,7 +77,6 @@ test_decorators decorator bug -- we evaluate decorator obj and its args ...@@ -77,7 +77,6 @@ test_decorators decorator bug -- we evaluate decorator obj and its args
test_deque couple unknown issues test_deque couple unknown issues
test_descrtut `exec in DefaultDict()` test_descrtut `exec in DefaultDict()`
test_descr wontfix: crashes at "self.__dict__ = self" test_descr wontfix: crashes at "self.__dict__ = self"
test_dictcomps we need to disallow assigning to dictcomps
test_dict misc failures related to things like gc, abc, comparisons, detecting mutations during iterations test_dict misc failures related to things like gc, abc, comparisons, detecting mutations during iterations
test_dictviews segfault calling repr on recursive dictview. remove test/tests/test_dictview.py when the orig test passes test_dictviews segfault calling repr on recursive dictview. remove test/tests/test_dictview.py when the orig test passes
test_difflib [unknown] test_difflib [unknown]
...@@ -90,7 +89,6 @@ test_email_codecs [unknown] ...@@ -90,7 +89,6 @@ test_email_codecs [unknown]
test_email_renamed [unknown] test_email_renamed [unknown]
test_email [unknown] test_email [unknown]
test_enumerate assert instead of exception in BoxedEnumerate test_enumerate assert instead of exception in BoxedEnumerate
test_eof [unknown]
test_exceptions we are missing recursion-depth checking test_exceptions we are missing recursion-depth checking
test_extcall f(**kw) crashes if kw isn't a dict test_extcall f(**kw) crashes if kw isn't a dict
test_file2k we abort when you try to open() a directory test_file2k we abort when you try to open() a directory
...@@ -134,15 +132,11 @@ test_linuxaudiodev [unknown] ...@@ -134,15 +132,11 @@ test_linuxaudiodev [unknown]
test_list longs as slice indices test_list longs as slice indices
test__locale No module named _locale test__locale No module named _locale
test_locale [unknown] test_locale [unknown]
test_longexp [unknown]
test_long_future [unknown] test_long_future [unknown]
test_macos Not really a failure, but it tries to skip itself and we don't support that test_macos Not really a failure, but it tries to skip itself and we don't support that
test_macostools Not really a failure, but it tries to skip itself and we don't support that test_macostools Not really a failure, but it tries to skip itself and we don't support that
test_mailbox [unknown]
test_marshal [unknown] test_marshal [unknown]
test_memoryio [unknown]
test_memoryview [unknown] test_memoryview [unknown]
test_minidom [unknown]
test_modulefinder [unknown] test_modulefinder [unknown]
test_module unicode docstrings test_module unicode docstrings
test_msilib [unknown] test_msilib [unknown]
...@@ -151,20 +145,17 @@ test_multiprocessing [unknown] ...@@ -151,20 +145,17 @@ test_multiprocessing [unknown]
test_mutants unknown failure test_mutants unknown failure
test_new [unknown] test_new [unknown]
test_nis [unknown] test_nis [unknown]
test_old_mailbox [unknown]
test_optparse assertion instead of exceptions for long("invalid number") test_optparse assertion instead of exceptions for long("invalid number")
test_ossaudiodev [unknown] test_ossaudiodev [unknown]
test_os [unknown] test_os [unknown]
test_parser [unknown] test_parser [unknown]
test_pdb [unknown] test_pdb [unknown]
test_peepholer [unknown] test_peepholer [unknown]
test_pep263 [unknown]
test_pep277 segfaults
test_pep352 various unique bugs test_pep352 various unique bugs
test_pickletools [unknown] test_pickletools [unknown]
test_pickle unknown test_pickle unknown
test_pkg unknown bug test_pkg unknown bug
test_poplib [unknown] test_poplib SSLError (but only on CI)
test_pprint [unknown] test_pprint [unknown]
test_profile [unknown] test_profile [unknown]
test_py3kwarn [unknown] test_py3kwarn [unknown]
...@@ -181,9 +172,7 @@ test_sax [unknown] ...@@ -181,9 +172,7 @@ test_sax [unknown]
test_scope eval of code object from existing function (not currently supported) test_scope eval of code object from existing function (not currently supported)
test_scriptpackages [unknown] test_scriptpackages [unknown]
test_shelve [unknown] test_shelve [unknown]
test_shlex [unknown]
test_site [unknown] test_site [unknown]
test_smtpnet [unknown]
test_socketserver [unknown] test_socketserver [unknown]
test_socket [unknown] test_socket [unknown]
test_sort argument specification issue in listSort? test_sort argument specification issue in listSort?
...@@ -192,7 +181,6 @@ test_ssl [unknown] ...@@ -192,7 +181,6 @@ test_ssl [unknown]
test_startfile [unknown] test_startfile [unknown]
test_str memory leak? test_str memory leak?
test_structmembers [unknown] test_structmembers [unknown]
test_struct [unknown]
test_subprocess exit code 141 [sigpipe?], no error message test_subprocess exit code 141 [sigpipe?], no error message
test_sunaudiodev [unknown] test_sunaudiodev [unknown]
test_sunau [unknown] test_sunau [unknown]
...@@ -213,7 +201,6 @@ test_threading_local [unknown] ...@@ -213,7 +201,6 @@ test_threading_local [unknown]
test_threading [unknown] test_threading [unknown]
test_threadsignals [unknown] test_threadsignals [unknown]
test_thread [unknown] test_thread [unknown]
test_timeout [unknown]
test_tk [unknown] test_tk [unknown]
test_tokenize [unknown] test_tokenize [unknown]
test_tools [unknown] test_tools [unknown]
...@@ -235,17 +222,14 @@ test_urllibnet [unknown] ...@@ -235,17 +222,14 @@ test_urllibnet [unknown]
test_userdict segfault: repr of recursive dict? test_userdict segfault: repr of recursive dict?
test_userlist slice(1L, 1L) test_userlist slice(1L, 1L)
test_userstring float(1L); hangs in test_replace test_userstring float(1L); hangs in test_replace
test_uuid long("invalid number") test_uuid segfault in ctypes (but only on CI)
test_wait3 [unknown] test_wait3 [unknown]
test_wait4 [unknown] test_wait4 [unknown]
test_warnings [unknown] test_warnings [unknown]
test_wave [unknown]
test_weakref weird function-picking bug (something around float.__add__) test_weakref weird function-picking bug (something around float.__add__)
test_weakset unknown issues test_weakset unknown issues
test_winreg [unknown] test_winreg [unknown]
test_winsound [unknown] test_winsound [unknown]
test_with weird codegen assert
test_wsgiref unknown issue
test_xml_etree_c [unknown] test_xml_etree_c [unknown]
test_xml_etree [unknown] test_xml_etree [unknown]
test_xmlrpc [unknown] test_xmlrpc [unknown]
......
../../from_cpython/Lib/test/audiodata
\ No newline at end of file
../../from_cpython/Lib/test/xmltestdata
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment