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
5c72271e
Commit
5c72271e
authored
Apr 06, 2015
by
Michael Arntzenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mark many CPython tests as failing
parent
5af38295
Changes
103
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
103 changed files
with
118 additions
and
0 deletions
+118
-0
from_cpython/Lib/bisect.py
from_cpython/Lib/bisect.py
+4
-0
from_cpython/Lib/test/test_abc.py
from_cpython/Lib/test/test_abc.py
+2
-0
from_cpython/Lib/test/test_abstract_numbers.py
from_cpython/Lib/test/test_abstract_numbers.py
+1
-0
from_cpython/Lib/test/test_augassign.py
from_cpython/Lib/test/test_augassign.py
+1
-0
from_cpython/Lib/test/test_base64.py
from_cpython/Lib/test/test_base64.py
+1
-0
from_cpython/Lib/test/test_binop.py
from_cpython/Lib/test/test_binop.py
+2
-0
from_cpython/Lib/test/test_bisect.py
from_cpython/Lib/test/test_bisect.py
+3
-0
from_cpython/Lib/test/test_bool.py
from_cpython/Lib/test/test_bool.py
+1
-0
from_cpython/Lib/test/test_builtin.py
from_cpython/Lib/test/test_builtin.py
+1
-0
from_cpython/Lib/test/test_bytes.py
from_cpython/Lib/test/test_bytes.py
+3
-0
from_cpython/Lib/test/test_class.py
from_cpython/Lib/test/test_class.py
+2
-0
from_cpython/Lib/test/test_coercion.py
from_cpython/Lib/test/test_coercion.py
+1
-0
from_cpython/Lib/test/test_collections.py
from_cpython/Lib/test/test_collections.py
+1
-0
from_cpython/Lib/test/test_compare.py
from_cpython/Lib/test/test_compare.py
+1
-0
from_cpython/Lib/test/test_complex.py
from_cpython/Lib/test/test_complex.py
+1
-0
from_cpython/Lib/test/test_complex_args.py
from_cpython/Lib/test/test_complex_args.py
+1
-0
from_cpython/Lib/test/test_contains.py
from_cpython/Lib/test/test_contains.py
+1
-0
from_cpython/Lib/test/test_contextlib.py
from_cpython/Lib/test/test_contextlib.py
+1
-0
from_cpython/Lib/test/test_datetime.py
from_cpython/Lib/test/test_datetime.py
+1
-0
from_cpython/Lib/test/test_decimal.py
from_cpython/Lib/test/test_decimal.py
+1
-0
from_cpython/Lib/test/test_decorators.py
from_cpython/Lib/test/test_decorators.py
+1
-0
from_cpython/Lib/test/test_defaultdict.py
from_cpython/Lib/test/test_defaultdict.py
+1
-0
from_cpython/Lib/test/test_deque.py
from_cpython/Lib/test/test_deque.py
+1
-0
from_cpython/Lib/test/test_descr.py
from_cpython/Lib/test/test_descr.py
+1
-0
from_cpython/Lib/test/test_descrtut.py
from_cpython/Lib/test/test_descrtut.py
+1
-0
from_cpython/Lib/test/test_dict.py
from_cpython/Lib/test/test_dict.py
+1
-0
from_cpython/Lib/test/test_dictcomps.py
from_cpython/Lib/test/test_dictcomps.py
+1
-0
from_cpython/Lib/test/test_dictviews.py
from_cpython/Lib/test/test_dictviews.py
+1
-0
from_cpython/Lib/test/test_doctest.py
from_cpython/Lib/test/test_doctest.py
+1
-0
from_cpython/Lib/test/test_doctest2.py
from_cpython/Lib/test/test_doctest2.py
+1
-0
from_cpython/Lib/test/test_enumerate.py
from_cpython/Lib/test/test_enumerate.py
+1
-0
from_cpython/Lib/test/test_exceptions.py
from_cpython/Lib/test/test_exceptions.py
+1
-0
from_cpython/Lib/test/test_extcall.py
from_cpython/Lib/test/test_extcall.py
+1
-0
from_cpython/Lib/test/test_file.py
from_cpython/Lib/test/test_file.py
+1
-0
from_cpython/Lib/test/test_file2k.py
from_cpython/Lib/test/test_file2k.py
+1
-0
from_cpython/Lib/test/test_file_eintr.py
from_cpython/Lib/test/test_file_eintr.py
+1
-0
from_cpython/Lib/test/test_filecmp.py
from_cpython/Lib/test/test_filecmp.py
+1
-0
from_cpython/Lib/test/test_fileinput.py
from_cpython/Lib/test/test_fileinput.py
+1
-0
from_cpython/Lib/test/test_float.py
from_cpython/Lib/test/test_float.py
+1
-0
from_cpython/Lib/test/test_format.py
from_cpython/Lib/test/test_format.py
+1
-0
from_cpython/Lib/test/test_funcattrs.py
from_cpython/Lib/test/test_funcattrs.py
+1
-0
from_cpython/Lib/test/test_functools.py
from_cpython/Lib/test/test_functools.py
+1
-0
from_cpython/Lib/test/test_generators.py
from_cpython/Lib/test/test_generators.py
+1
-0
from_cpython/Lib/test/test_genexps.py
from_cpython/Lib/test/test_genexps.py
+1
-0
from_cpython/Lib/test/test_getopt.py
from_cpython/Lib/test/test_getopt.py
+1
-0
from_cpython/Lib/test/test_global.py
from_cpython/Lib/test/test_global.py
+1
-0
from_cpython/Lib/test/test_grammar.py
from_cpython/Lib/test/test_grammar.py
+1
-0
from_cpython/Lib/test/test_hash.py
from_cpython/Lib/test/test_hash.py
+1
-0
from_cpython/Lib/test/test_index.py
from_cpython/Lib/test/test_index.py
+1
-0
from_cpython/Lib/test/test_int.py
from_cpython/Lib/test/test_int.py
+1
-0
from_cpython/Lib/test/test_io.py
from_cpython/Lib/test/test_io.py
+1
-0
from_cpython/Lib/test/test_isinstance.py
from_cpython/Lib/test/test_isinstance.py
+1
-0
from_cpython/Lib/test/test_iter.py
from_cpython/Lib/test/test_iter.py
+1
-0
from_cpython/Lib/test/test_iterlen.py
from_cpython/Lib/test/test_iterlen.py
+2
-0
from_cpython/Lib/test/test_itertools.py
from_cpython/Lib/test/test_itertools.py
+3
-0
from_cpython/Lib/test/test_json.py
from_cpython/Lib/test/test_json.py
+1
-0
from_cpython/Lib/test/test_list.py
from_cpython/Lib/test/test_list.py
+1
-0
from_cpython/Lib/test/test_long.py
from_cpython/Lib/test/test_long.py
+1
-0
from_cpython/Lib/test/test_math.py
from_cpython/Lib/test/test_math.py
+1
-0
from_cpython/Lib/test/test_module.py
from_cpython/Lib/test/test_module.py
+1
-0
from_cpython/Lib/test/test_mutants.py
from_cpython/Lib/test/test_mutants.py
+1
-0
from_cpython/Lib/test/test_opcodes.py
from_cpython/Lib/test/test_opcodes.py
+1
-0
from_cpython/Lib/test/test_operator.py
from_cpython/Lib/test/test_operator.py
+1
-0
from_cpython/Lib/test/test_optparse.py
from_cpython/Lib/test/test_optparse.py
+1
-0
from_cpython/Lib/test/test_pep277.py
from_cpython/Lib/test/test_pep277.py
+1
-0
from_cpython/Lib/test/test_pep352.py
from_cpython/Lib/test/test_pep352.py
+1
-0
from_cpython/Lib/test/test_pkg.py
from_cpython/Lib/test/test_pkg.py
+1
-0
from_cpython/Lib/test/test_popen.py
from_cpython/Lib/test/test_popen.py
+1
-0
from_cpython/Lib/test/test_pow.py
from_cpython/Lib/test/test_pow.py
+1
-0
from_cpython/Lib/test/test_property.py
from_cpython/Lib/test/test_property.py
+1
-0
from_cpython/Lib/test/test_random.py
from_cpython/Lib/test/test_random.py
+1
-0
from_cpython/Lib/test/test_repr.py
from_cpython/Lib/test/test_repr.py
+1
-0
from_cpython/Lib/test/test_richcmp.py
from_cpython/Lib/test/test_richcmp.py
+1
-0
from_cpython/Lib/test/test_scope.py
from_cpython/Lib/test/test_scope.py
+1
-0
from_cpython/Lib/test/test_set.py
from_cpython/Lib/test/test_set.py
+1
-0
from_cpython/Lib/test/test_setcomps.py
from_cpython/Lib/test/test_setcomps.py
+1
-0
from_cpython/Lib/test/test_sets.py
from_cpython/Lib/test/test_sets.py
+1
-0
from_cpython/Lib/test/test_slice.py
from_cpython/Lib/test/test_slice.py
+1
-0
from_cpython/Lib/test/test_sort.py
from_cpython/Lib/test/test_sort.py
+1
-0
from_cpython/Lib/test/test_stat.py
from_cpython/Lib/test/test_stat.py
+1
-0
from_cpython/Lib/test/test_str.py
from_cpython/Lib/test/test_str.py
+1
-0
from_cpython/Lib/test/test_string.py
from_cpython/Lib/test/test_string.py
+3
-0
from_cpython/Lib/test/test_subprocess.py
from_cpython/Lib/test/test_subprocess.py
+1
-0
from_cpython/Lib/test/test_tuple.py
from_cpython/Lib/test/test_tuple.py
+1
-0
from_cpython/Lib/test/test_types.py
from_cpython/Lib/test/test_types.py
+1
-0
from_cpython/Lib/test/test_ucn.py
from_cpython/Lib/test/test_ucn.py
+1
-0
from_cpython/Lib/test/test_unary.py
from_cpython/Lib/test/test_unary.py
+1
-0
from_cpython/Lib/test/test_undocumented_details.py
from_cpython/Lib/test/test_undocumented_details.py
+1
-0
from_cpython/Lib/test/test_unicode.py
from_cpython/Lib/test/test_unicode.py
+1
-0
from_cpython/Lib/test/test_unicode_file.py
from_cpython/Lib/test/test_unicode_file.py
+1
-0
from_cpython/Lib/test/test_unittest.py
from_cpython/Lib/test/test_unittest.py
+1
-0
from_cpython/Lib/test/test_unpack.py
from_cpython/Lib/test/test_unpack.py
+1
-0
from_cpython/Lib/test/test_urllib.py
from_cpython/Lib/test/test_urllib.py
+1
-0
from_cpython/Lib/test/test_urllib2.py
from_cpython/Lib/test/test_urllib2.py
+1
-0
from_cpython/Lib/test/test_userdict.py
from_cpython/Lib/test/test_userdict.py
+1
-0
from_cpython/Lib/test/test_userlist.py
from_cpython/Lib/test/test_userlist.py
+1
-0
from_cpython/Lib/test/test_userstring.py
from_cpython/Lib/test/test_userstring.py
+1
-0
from_cpython/Lib/test/test_uuid.py
from_cpython/Lib/test/test_uuid.py
+1
-0
from_cpython/Lib/test/test_weakref.py
from_cpython/Lib/test/test_weakref.py
+1
-0
from_cpython/Lib/test/test_weakset.py
from_cpython/Lib/test/test_weakset.py
+1
-0
from_cpython/Lib/test/test_with.py
from_cpython/Lib/test/test_with.py
+1
-0
from_cpython/Lib/test/test_wsgiref.py
from_cpython/Lib/test/test_wsgiref.py
+1
-0
from_cpython/Lib/test/test_xrange.py
from_cpython/Lib/test/test_xrange.py
+1
-0
No files found.
from_cpython/Lib/bisect.py
View file @
5c72271e
...
@@ -87,6 +87,10 @@ def bisect_left(a, x, lo=0, hi=None):
...
@@ -87,6 +87,10 @@ def bisect_left(a, x, lo=0, hi=None):
# Overwrite above definitions with a fast C implementation
# Overwrite above definitions with a fast C implementation
try
:
try
:
# Pyston FIXME: somehow sys.modules['_bisect'] is being bound to 0, which is tripping an assert in importStar.
# import sys
# print '_bisect' in sys.modules
# print sys.modules['_bisect']
from
_bisect
import
*
from
_bisect
import
*
except
ImportError
:
except
ImportError
:
pass
pass
from_cpython/Lib/test/test_abc.py
View file @
5c72271e
# expected: fail
# Copyright 2007 Google, Inc. All Rights Reserved.
# Copyright 2007 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
# Licensed to PSF under a Contributor Agreement.
...
...
from_cpython/Lib/test/test_abstract_numbers.py
View file @
5c72271e
# expected: fail
"""Unit tests for numbers.py."""
"""Unit tests for numbers.py."""
import
math
import
math
...
...
from_cpython/Lib/test/test_augassign.py
View file @
5c72271e
# expected: fail
# Augmented assignment test.
# Augmented assignment test.
from
test.test_support
import
run_unittest
,
check_py3k_warnings
from
test.test_support
import
run_unittest
,
check_py3k_warnings
...
...
from_cpython/Lib/test/test_base64.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
import
base64
import
base64
...
...
from_cpython/Lib/test/test_binop.py
View file @
5c72271e
# expected: fail
# need `exec' support
"""Tests for binary operators on subtypes of built-in types."""
"""Tests for binary operators on subtypes of built-in types."""
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_bisect.py
View file @
5c72271e
# expected: fail
#
# fails b/c of a problem in bisect.py. see that.
import
sys
import
sys
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_bool.py
View file @
5c72271e
# expected: fail
# Test properties of bool promised by PEP 285
# Test properties of bool promised by PEP 285
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_builtin.py
View file @
5c72271e
# expected: fail
# Python test set -- built-in functions
# Python test set -- built-in functions
import
platform
import
platform
...
...
from_cpython/Lib/test/test_bytes.py
View file @
5c72271e
# expected: fail
# this trips an assert in pypa-parser.cpp
"""Unit tests for the bytes and bytearray types.
"""Unit tests for the bytes and bytearray types.
XXX This is a mess. Common tests should be moved to buffer_tests.py,
XXX This is a mess. Common tests should be moved to buffer_tests.py,
...
...
from_cpython/Lib/test/test_class.py
View file @
5c72271e
# expected: fail
# needs exec and (foo[:] = bar)
"Test the functionality of Python classes implementing operators."
"Test the functionality of Python classes implementing operators."
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_coercion.py
View file @
5c72271e
# expected: fail
import
copy
import
copy
import
unittest
import
unittest
from
test.test_support
import
run_unittest
,
TestFailed
,
check_warnings
from
test.test_support
import
run_unittest
,
TestFailed
,
check_warnings
...
...
from_cpython/Lib/test/test_collections.py
View file @
5c72271e
# expected: fail
import
unittest
,
doctest
,
operator
import
unittest
,
doctest
,
operator
import
inspect
import
inspect
...
...
from_cpython/Lib/test/test_compare.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_complex.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_complex_args.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_contains.py
View file @
5c72271e
# expected: fail
from
test.test_support
import
have_unicode
,
run_unittest
from
test.test_support
import
have_unicode
,
run_unittest
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_contextlib.py
View file @
5c72271e
# expected: fail
"""Unit tests for contextlib.py, and other context managers."""
"""Unit tests for contextlib.py, and other context managers."""
import
sys
import
sys
...
...
from_cpython/Lib/test/test_datetime.py
View file @
5c72271e
# expected: fail
"""Test date/time type.
"""Test date/time type.
See http://www.zope.org/Members/fdrake/DateTimeWiki/TestCases
See http://www.zope.org/Members/fdrake/DateTimeWiki/TestCases
...
...
from_cpython/Lib/test/test_decimal.py
View file @
5c72271e
# expected: fail
# Copyright (c) 2004 Python Software Foundation.
# Copyright (c) 2004 Python Software Foundation.
# All rights reserved.
# All rights reserved.
...
...
from_cpython/Lib/test/test_decorators.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_defaultdict.py
View file @
5c72271e
# expected: fail
"""Unit tests for collections.defaultdict."""
"""Unit tests for collections.defaultdict."""
import
os
import
os
...
...
from_cpython/Lib/test/test_deque.py
View file @
5c72271e
# expected: fail
from
collections
import
deque
from
collections
import
deque
import
unittest
import
unittest
from
test
import
test_support
,
seq_tests
from
test
import
test_support
,
seq_tests
...
...
from_cpython/Lib/test/test_descr.py
View file @
5c72271e
# expected: fail
import
__builtin__
import
__builtin__
import
gc
import
gc
import
sys
import
sys
...
...
from_cpython/Lib/test/test_descrtut.py
View file @
5c72271e
# expected: fail
# This contains most of the executable examples from Guido's descr
# This contains most of the executable examples from Guido's descr
# tutorial, once at
# tutorial, once at
#
#
...
...
from_cpython/Lib/test/test_dict.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_dictcomps.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
as
support
from
test
import
test_support
as
support
...
...
from_cpython/Lib/test/test_dictviews.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_doctest.py
View file @
5c72271e
# expected: fail
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
"""
"""
Test script for doctest.
Test script for doctest.
...
...
from_cpython/Lib/test/test_doctest2.py
View file @
5c72271e
# expected: fail
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
u"""A module to test whether doctest recognizes some 2.2 features,
u"""A module to test whether doctest recognizes some 2.2 features,
like static and class methods.
like static and class methods.
...
...
from_cpython/Lib/test/test_enumerate.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
import
sys
import
sys
...
...
from_cpython/Lib/test/test_exceptions.py
View file @
5c72271e
# expected: fail
# Python test set -- part 5, built-in exceptions
# Python test set -- part 5, built-in exceptions
import
os
import
os
...
...
from_cpython/Lib/test/test_extcall.py
View file @
5c72271e
# expected: fail
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
"""Doctest for method/function calls.
"""Doctest for method/function calls.
...
...
from_cpython/Lib/test/test_file.py
View file @
5c72271e
# expected: fail
# NOTE: this file tests the new `io` library backported from Python 3.x.
# NOTE: this file tests the new `io` library backported from Python 3.x.
# Similar tests for the builtin file object can be found in test_file2k.py.
# Similar tests for the builtin file object can be found in test_file2k.py.
...
...
from_cpython/Lib/test/test_file2k.py
View file @
5c72271e
# expected: fail
import
sys
import
sys
import
os
import
os
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_file_eintr.py
View file @
5c72271e
# expected: fail
# Written to test interrupted system calls interfering with our many buffered
# Written to test interrupted system calls interfering with our many buffered
# IO implementations. http://bugs.python.org/issue12268
# IO implementations. http://bugs.python.org/issue12268
#
#
...
...
from_cpython/Lib/test/test_filecmp.py
View file @
5c72271e
# expected: fail
import
os
,
filecmp
,
shutil
,
tempfile
import
os
,
filecmp
,
shutil
,
tempfile
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_fileinput.py
View file @
5c72271e
# expected: fail
'''
'''
Tests for fileinput module.
Tests for fileinput module.
Nick Mathewson
Nick Mathewson
...
...
from_cpython/Lib/test/test_float.py
View file @
5c72271e
# expected: fail
import
unittest
,
struct
import
unittest
,
struct
import
os
import
os
...
...
from_cpython/Lib/test/test_format.py
View file @
5c72271e
# expected: fail
import
sys
import
sys
from
test.test_support
import
verbose
,
have_unicode
,
TestFailed
from
test.test_support
import
verbose
,
have_unicode
,
TestFailed
import
test.test_support
as
test_support
import
test.test_support
as
test_support
...
...
from_cpython/Lib/test/test_funcattrs.py
View file @
5c72271e
# expected: fail
from
test
import
test_support
from
test
import
test_support
import
types
import
types
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_functools.py
View file @
5c72271e
# expected: fail
import
functools
import
functools
import
sys
import
sys
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_generators.py
View file @
5c72271e
# expected: fail
tutorial_tests
=
"""
tutorial_tests
=
"""
Let's try a simple generator:
Let's try a simple generator:
...
...
from_cpython/Lib/test/test_genexps.py
View file @
5c72271e
# expected: fail
doctests
=
"""
doctests
=
"""
Test simple loop with conditional
Test simple loop with conditional
...
...
from_cpython/Lib/test/test_getopt.py
View file @
5c72271e
# expected: fail
# test_getopt.py
# test_getopt.py
# David Goodger <dgoodger@bigfoot.com> 2000-08-19
# David Goodger <dgoodger@bigfoot.com> 2000-08-19
...
...
from_cpython/Lib/test/test_global.py
View file @
5c72271e
# expected: fail
"""Verify that warnings are issued for global statements following use."""
"""Verify that warnings are issued for global statements following use."""
from
test.test_support
import
run_unittest
,
check_syntax_error
from
test.test_support
import
run_unittest
,
check_syntax_error
...
...
from_cpython/Lib/test/test_grammar.py
View file @
5c72271e
# expected: fail
# Python test set -- part 1, grammar.
# Python test set -- part 1, grammar.
# This just tests whether the parser accepts them all.
# This just tests whether the parser accepts them all.
...
...
from_cpython/Lib/test/test_hash.py
View file @
5c72271e
# expected: fail
# test the invariant that
# test the invariant that
# iff a==b then hash(a)==hash(b)
# iff a==b then hash(a)==hash(b)
#
#
...
...
from_cpython/Lib/test/test_index.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
import
operator
import
operator
...
...
from_cpython/Lib/test/test_int.py
View file @
5c72271e
# expected: fail
import
sys
import
sys
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_io.py
View file @
5c72271e
# expected: fail
"""Unit tests for the io module."""
"""Unit tests for the io module."""
# Tests of io are scattered over the test suite:
# Tests of io are scattered over the test suite:
...
...
from_cpython/Lib/test/test_isinstance.py
View file @
5c72271e
# expected: fail
# Tests some corner cases with isinstance() and issubclass(). While these
# Tests some corner cases with isinstance() and issubclass(). While these
# tests use new style classes and properties, they actually do whitebox
# tests use new style classes and properties, they actually do whitebox
# testing of error conditions uncovered when using extension types.
# testing of error conditions uncovered when using extension types.
...
...
from_cpython/Lib/test/test_iter.py
View file @
5c72271e
# expected: fail
# Test iterators.
# Test iterators.
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_iterlen.py
View file @
5c72271e
# expected: fail
""" Test Iterator Length Transparency
""" Test Iterator Length Transparency
Some functions or methods which accept general iterable arguments have
Some functions or methods which accept general iterable arguments have
...
...
from_cpython/Lib/test/test_itertools.py
View file @
5c72271e
# expected: fail
# fails because capifunc's don't have __name__ attributes,
# which causes from_cpython/Lib/fractions.py to error
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
from
itertools
import
*
from
itertools
import
*
...
...
from_cpython/Lib/test/test_json.py
View file @
5c72271e
# expected: fail
"""Tests for json.
"""Tests for json.
The tests for json are defined in the json.tests package;
The tests for json are defined in the json.tests package;
...
...
from_cpython/Lib/test/test_list.py
View file @
5c72271e
# expected: fail
import
sys
import
sys
from
test
import
test_support
,
list_tests
from
test
import
test_support
,
list_tests
...
...
from_cpython/Lib/test/test_long.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
import
sys
import
sys
...
...
from_cpython/Lib/test/test_math.py
View file @
5c72271e
# expected: fail
# Python test set -- math module
# Python test set -- math module
# XXXX Should not do tests around zero only
# XXXX Should not do tests around zero only
...
...
from_cpython/Lib/test/test_module.py
View file @
5c72271e
# expected: fail
# Test the module type
# Test the module type
import
unittest
import
unittest
from
test.test_support
import
run_unittest
,
gc_collect
from
test.test_support
import
run_unittest
,
gc_collect
...
...
from_cpython/Lib/test/test_mutants.py
View file @
5c72271e
# expected: fail
from
test.test_support
import
verbose
,
TESTFN
from
test.test_support
import
verbose
,
TESTFN
import
random
import
random
import
os
import
os
...
...
from_cpython/Lib/test/test_opcodes.py
View file @
5c72271e
# expected: fail
# Python test set -- part 2, opcodes
# Python test set -- part 2, opcodes
from
test.test_support
import
run_unittest
,
check_py3k_warnings
from
test.test_support
import
run_unittest
,
check_py3k_warnings
...
...
from_cpython/Lib/test/test_operator.py
View file @
5c72271e
# expected: fail
import
operator
import
operator
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_optparse.py
View file @
5c72271e
# expected: fail
#
#
# Test suite for Optik. Supplied by Johannes Gijsbers
# Test suite for Optik. Supplied by Johannes Gijsbers
# (taradino@softhome.net) -- translated from the original Optik
# (taradino@softhome.net) -- translated from the original Optik
...
...
from_cpython/Lib/test/test_pep277.py
View file @
5c72271e
# 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
...
...
from_cpython/Lib/test/test_pep352.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
import
__builtin__
import
__builtin__
import
exceptions
import
exceptions
...
...
from_cpython/Lib/test/test_pkg.py
View file @
5c72271e
# expected: fail
# Test packages (dotted-name import)
# Test packages (dotted-name import)
import
sys
import
sys
...
...
from_cpython/Lib/test/test_popen.py
View file @
5c72271e
# expected: fail
"""Basic tests for os.popen()
"""Basic tests for os.popen()
Particularly useful for platforms that fake popen.
Particularly useful for platforms that fake popen.
...
...
from_cpython/Lib/test/test_pow.py
View file @
5c72271e
# expected: fail
import
test.test_support
,
unittest
import
test.test_support
,
unittest
class
PowTest
(
unittest
.
TestCase
):
class
PowTest
(
unittest
.
TestCase
):
...
...
from_cpython/Lib/test/test_property.py
View file @
5c72271e
# expected: fail
# Test case for property
# Test case for property
# more tests are in test_descr
# more tests are in test_descr
...
...
from_cpython/Lib/test/test_random.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
import
random
import
random
import
time
import
time
...
...
from_cpython/Lib/test/test_repr.py
View file @
5c72271e
# expected: fail
"""
"""
Test cases for the repr module
Test cases for the repr module
Nick Mathewson
Nick Mathewson
...
...
from_cpython/Lib/test/test_richcmp.py
View file @
5c72271e
# expected: fail
# Tests for rich comparisons
# Tests for rich comparisons
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_scope.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test.test_support
import
check_syntax_error
,
check_py3k_warnings
,
\
from
test.test_support
import
check_syntax_error
,
check_py3k_warnings
,
\
check_warnings
,
run_unittest
check_warnings
,
run_unittest
...
...
from_cpython/Lib/test/test_set.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_setcomps.py
View file @
5c72271e
# expected: fail
doctests
=
"""
doctests
=
"""
########### Tests mostly copied from test_listcomps.py ############
########### Tests mostly copied from test_listcomps.py ############
...
...
from_cpython/Lib/test/test_sets.py
View file @
5c72271e
# expected: fail
import
unittest
,
operator
,
copy
,
pickle
,
random
import
unittest
,
operator
,
copy
,
pickle
,
random
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_slice.py
View file @
5c72271e
# expected: fail
# tests for slice objects; in particular the indices method.
# tests for slice objects; in particular the indices method.
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_sort.py
View file @
5c72271e
# expected: fail
from
test
import
test_support
from
test
import
test_support
import
random
import
random
import
sys
import
sys
...
...
from_cpython/Lib/test/test_stat.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
import
os
import
os
from
test.test_support
import
TESTFN
,
run_unittest
from
test.test_support
import
TESTFN
,
run_unittest
...
...
from_cpython/Lib/test/test_str.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
import
struct
import
struct
import
sys
import
sys
...
...
from_cpython/Lib/test/test_string.py
View file @
5c72271e
# skip-if: True
# expected: fail
# this test gets stuck in an infinite loop(?) in test_replace (from string_tests)
import
unittest
,
string
import
unittest
,
string
from
test
import
test_support
,
string_tests
from
test
import
test_support
,
string_tests
from
UserList
import
UserList
from
UserList
import
UserList
...
...
from_cpython/Lib/test/test_subprocess.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
import
subprocess
import
subprocess
...
...
from_cpython/Lib/test/test_tuple.py
View file @
5c72271e
# expected: fail
from
test
import
test_support
,
seq_tests
from
test
import
test_support
,
seq_tests
import
gc
import
gc
...
...
from_cpython/Lib/test/test_types.py
View file @
5c72271e
# expected: fail
# Python test set -- part 6, built-in types
# Python test set -- part 6, built-in types
from
test.test_support
import
run_unittest
,
have_unicode
,
run_with_locale
,
\
from
test.test_support
import
run_unittest
,
have_unicode
,
run_with_locale
,
\
...
...
from_cpython/Lib/test/test_ucn.py
View file @
5c72271e
# expected: fail
""" Test script for the Unicode implementation.
""" Test script for the Unicode implementation.
Written by Bill Tutt.
Written by Bill Tutt.
...
...
from_cpython/Lib/test/test_unary.py
View file @
5c72271e
# expected: fail
"""Test compiler changes for unary ops (+, -, ~) introduced in Python 2.2"""
"""Test compiler changes for unary ops (+, -, ~) introduced in Python 2.2"""
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_undocumented_details.py
View file @
5c72271e
# expected: fail
from
test.test_support
import
run_unittest
,
check_py3k_warnings
from
test.test_support
import
run_unittest
,
check_py3k_warnings
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_unicode.py
View file @
5c72271e
# expected: fail
""" Test script for the Unicode implementation.
""" Test script for the Unicode implementation.
Written by Marc-Andre Lemburg (mal@lemburg.com).
Written by Marc-Andre Lemburg (mal@lemburg.com).
...
...
from_cpython/Lib/test/test_unicode_file.py
View file @
5c72271e
# expected: fail
# Test some Unicode file name semantics
# Test some Unicode file name semantics
# We dont test many operations on files other than
# We dont test many operations on files other than
# that their names can be used with Unicode characters.
# that their names can be used with Unicode characters.
...
...
from_cpython/Lib/test/test_unittest.py
View file @
5c72271e
# expected: fail
import
unittest.test
import
unittest.test
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_unpack.py
View file @
5c72271e
# expected: fail
doctests
=
"""
doctests
=
"""
Unpack tuple
Unpack tuple
...
...
from_cpython/Lib/test/test_urllib.py
View file @
5c72271e
# expected: fail
"""Regresssion tests for urllib"""
"""Regresssion tests for urllib"""
import
urllib
import
urllib
...
...
from_cpython/Lib/test/test_urllib2.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
...
...
from_cpython/Lib/test/test_userdict.py
View file @
5c72271e
# expected: fail
# Check every path through every method of UserDict
# Check every path through every method of UserDict
from
test
import
test_support
,
mapping_tests
from
test
import
test_support
,
mapping_tests
...
...
from_cpython/Lib/test/test_userlist.py
View file @
5c72271e
# expected: fail
# Check every path through every method of UserList
# Check every path through every method of UserList
from
UserList
import
UserList
from
UserList
import
UserList
...
...
from_cpython/Lib/test/test_userstring.py
View file @
5c72271e
# expected: fail
# UserString is a wrapper around the native builtin string type.
# UserString is a wrapper around the native builtin string type.
# UserString instances should behave similar to builtin string objects.
# UserString instances should behave similar to builtin string objects.
...
...
from_cpython/Lib/test/test_uuid.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
import
io
import
io
...
...
from_cpython/Lib/test/test_weakref.py
View file @
5c72271e
# expected: fail
import
gc
import
gc
import
sys
import
sys
import
unittest
import
unittest
...
...
from_cpython/Lib/test/test_weakset.py
View file @
5c72271e
# expected: fail
import
unittest
import
unittest
from
test
import
test_support
from
test
import
test_support
from
weakref
import
proxy
,
ref
,
WeakSet
from
weakref
import
proxy
,
ref
,
WeakSet
...
...
from_cpython/Lib/test/test_with.py
View file @
5c72271e
This diff is collapsed.
Click to expand it.
from_cpython/Lib/test/test_wsgiref.py
View file @
5c72271e
This diff is collapsed.
Click to expand it.
from_cpython/Lib/test/test_xrange.py
View file @
5c72271e
This diff is collapsed.
Click to expand it.
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