Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
1caf6375
Commit
1caf6375
authored
Feb 09, 2016
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable working cpython tests
parent
1f4a1b09
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
6 additions
and
41 deletions
+6
-41
from_cpython/Lib/test/test_dictcomps.py
from_cpython/Lib/test/test_dictcomps.py
+0
-1
from_cpython/Lib/test/test_eof.py
from_cpython/Lib/test/test_eof.py
+0
-1
from_cpython/Lib/test/test_longexp.py
from_cpython/Lib/test/test_longexp.py
+0
-1
from_cpython/Lib/test/test_mailbox.py
from_cpython/Lib/test/test_mailbox.py
+0
-1
from_cpython/Lib/test/test_memoryio.py
from_cpython/Lib/test/test_memoryio.py
+0
-1
from_cpython/Lib/test/test_minidom.py
from_cpython/Lib/test/test_minidom.py
+0
-1
from_cpython/Lib/test/test_old_mailbox.py
from_cpython/Lib/test/test_old_mailbox.py
+0
-1
from_cpython/Lib/test/test_pep263.py
from_cpython/Lib/test/test_pep263.py
+0
-1
from_cpython/Lib/test/test_pep277.py
from_cpython/Lib/test/test_pep277.py
+0
-1
from_cpython/Lib/test/test_shlex.py
from_cpython/Lib/test/test_shlex.py
+0
-1
from_cpython/Lib/test/test_smtpnet.py
from_cpython/Lib/test/test_smtpnet.py
+0
-1
from_cpython/Lib/test/test_struct.py
from_cpython/Lib/test/test_struct.py
+0
-1
from_cpython/Lib/test/test_timeout.py
from_cpython/Lib/test/test_timeout.py
+0
-1
from_cpython/Lib/test/test_wave.py
from_cpython/Lib/test/test_wave.py
+0
-1
from_cpython/Lib/test/test_with.py
from_cpython/Lib/test/test_with.py
+0
-1
from_cpython/Lib/test/test_wsgiref.py
from_cpython/Lib/test/test_wsgiref.py
+0
-6
test/CPYTHON_TEST_NOTES.md
test/CPYTHON_TEST_NOTES.md
+4
-20
test/cpython/audiodata
test/cpython/audiodata
+1
-0
test/cpython/xmltestdata
test/cpython/xmltestdata
+1
-0
No files found.
from_cpython/Lib/test/test_dictcomps.py
View file @
1caf6375
# expected: fail
import
unittest
from
test
import
test_support
as
support
...
...
from_cpython/Lib/test/test_eof.py
View file @
1caf6375
# expected: fail
"""test script for a few new invalid token catches"""
import
unittest
...
...
from_cpython/Lib/test/test_longexp.py
View file @
1caf6375
# expected: fail
import
unittest
from
test
import
test_support
...
...
from_cpython/Lib/test/test_mailbox.py
View file @
1caf6375
# expected: fail
import
os
import
sys
import
time
...
...
from_cpython/Lib/test/test_memoryio.py
View file @
1caf6375
# expected: fail
"""Unit tests for memory-based file-like objects.
StringIO -- for unicode strings
BytesIO -- for bytes
...
...
from_cpython/Lib/test/test_minidom.py
View file @
1caf6375
# expected: fail
# test for xml.dom.minidom
import
pickle
...
...
from_cpython/Lib/test/test_old_mailbox.py
View file @
1caf6375
# expected: fail
# This set of tests exercises the backward-compatibility class
# in mailbox.py (the ones without write support).
...
...
from_cpython/Lib/test/test_pep263.py
View file @
1caf6375
# expected: fail
# -*- coding: koi8-r -*-
import
unittest
...
...
from_cpython/Lib/test/test_pep277.py
View file @
1caf6375
# expected: fail
# 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
import
sys
,
os
,
unittest
...
...
from_cpython/Lib/test/test_shlex.py
View file @
1caf6375
# expected: fail
# -*- coding: iso-8859-1 -*-
import
unittest
import
shlex
...
...
from_cpython/Lib/test/test_smtpnet.py
View file @
1caf6375
# expected: fail
import
unittest
from
test
import
test_support
import
smtplib
...
...
from_cpython/Lib/test/test_struct.py
View file @
1caf6375
# expected: fail
import
os
import
array
import
unittest
...
...
from_cpython/Lib/test/test_timeout.py
View file @
1caf6375
# expected: fail
"""Unit tests for socket timeout feature."""
import
unittest
...
...
from_cpython/Lib/test/test_wave.py
View file @
1caf6375
# expected: fail
from
test.test_support
import
TESTFN
,
run_unittest
import
unittest
from
test
import
audiotests
...
...
from_cpython/Lib/test/test_with.py
View file @
1caf6375
# expected: fail
"""Unit tests for the with statement specified in PEP 343."""
...
...
from_cpython/Lib/test/test_wsgiref.py
View file @
1caf6375
# expected: fail
from
__future__
import
nested_scopes
# Backward compat for 2.1
from
unittest
import
TestCase
from
wsgiref.util
import
setup_testing_defaults
...
...
@@ -114,11 +113,6 @@ class IntegrationTests(TestCase):
out
,
err
=
run_amock
()
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
):
out
,
err
=
run_amock
(
validator
(
hello_app
))
# the middleware doesn't support len(), so content-length isn't there
...
...
test/CPYTHON_TEST_NOTES.md
View file @
1caf6375
...
...
@@ -37,7 +37,7 @@ test_builtin execfile scoping issue
test_bz2 [unknown]
test_capi [unknown]
test_cd [unknown]
test_cfgparser
[unknown]
test_cfgparser
works when run from inside the from_cpython dir
test_cgi [unknown]
test_class needs ellipsis
test_cl [unknown]
...
...
@@ -57,7 +57,7 @@ test_codecmaps_tw [unknown]
test_codecs [unknown]
test_codeop [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_collections assertion failed when doing vars(collections.namedtuple('Point', 'x y')(11, 12))
test_compileall [unknown]
...
...
@@ -77,7 +77,6 @@ test_decorators decorator bug -- we evaluate decorator obj and its args
test_deque couple unknown issues
test_descrtut `exec in DefaultDict()`
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_dictviews segfault calling repr on recursive dictview. remove test/tests/test_dictview.py when the orig test passes
test_difflib [unknown]
...
...
@@ -90,7 +89,6 @@ test_email_codecs [unknown]
test_email_renamed [unknown]
test_email [unknown]
test_enumerate assert instead of exception in BoxedEnumerate
test_eof [unknown]
test_exceptions we are missing recursion-depth checking
test_extcall f(**kw) crashes if kw isn't a dict
test_file2k we abort when you try to open() a directory
...
...
@@ -134,15 +132,11 @@ test_linuxaudiodev [unknown]
test_list longs as slice indices
test__locale No module named _locale
test_locale [unknown]
test_longexp [unknown]
test_long_future [unknown]
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_mailbox [unknown]
test_marshal [unknown]
test_memoryio [unknown]
test_memoryview [unknown]
test_minidom [unknown]
test_modulefinder [unknown]
test_module unicode docstrings
test_msilib [unknown]
...
...
@@ -151,20 +145,17 @@ test_multiprocessing [unknown]
test_mutants unknown failure
test_new [unknown]
test_nis [unknown]
test_old_mailbox [unknown]
test_optparse assertion instead of exceptions for long("invalid number")
test_ossaudiodev [unknown]
test_os [unknown]
test_parser [unknown]
test_pdb [unknown]
test_peepholer [unknown]
test_pep263 [unknown]
test_pep277 segfaults
test_pep352 various unique bugs
test_pickletools [unknown]
test_pickle unknown
test_pkg unknown bug
test_poplib
[unknown]
test_poplib
SSLError (but only on CI)
test_pprint [unknown]
test_profile [unknown]
test_py3kwarn [unknown]
...
...
@@ -181,9 +172,7 @@ test_sax [unknown]
test_scope eval of code object from existing function (not currently supported)
test_scriptpackages [unknown]
test_shelve [unknown]
test_shlex [unknown]
test_site [unknown]
test_smtpnet [unknown]
test_socketserver [unknown]
test_socket [unknown]
test_sort argument specification issue in listSort?
...
...
@@ -192,7 +181,6 @@ test_ssl [unknown]
test_startfile [unknown]
test_str memory leak?
test_structmembers [unknown]
test_struct [unknown]
test_subprocess exit code 141 [sigpipe?], no error message
test_sunaudiodev [unknown]
test_sunau [unknown]
...
...
@@ -213,7 +201,6 @@ test_threading_local [unknown]
test_threading [unknown]
test_threadsignals [unknown]
test_thread [unknown]
test_timeout [unknown]
test_tk [unknown]
test_tokenize [unknown]
test_tools [unknown]
...
...
@@ -235,17 +222,14 @@ test_urllibnet [unknown]
test_userdict segfault: repr of recursive dict?
test_userlist slice(1L, 1L)
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_wait4 [unknown]
test_warnings [unknown]
test_wave [unknown]
test_weakref weird function-picking bug (something around float.__add__)
test_weakset unknown issues
test_winreg [unknown]
test_winsound [unknown]
test_with weird codegen assert
test_wsgiref unknown issue
test_xml_etree_c [unknown]
test_xml_etree [unknown]
test_xmlrpc [unknown]
...
...
test/cpython/audiodata
0 → 120000
View file @
1caf6375
../../from_cpython/Lib/test/audiodata
\ No newline at end of file
test/cpython/xmltestdata
0 → 120000
View file @
1caf6375
../../from_cpython/Lib/test/xmltestdata
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment