Commit 2522afa3 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix some issues I created

Two of these tests pass in release mode but not in debug (one is a timeout, the other is an assertion)
Two of them are failing in both and I don't know why I marked them as succeeding.
parent 3108e453
# expected: fail
import difflib
from test.test_support import run_unittest, findfile
import unittest
......
# expected: fail
import unittest
from test import test_support
from itertools import *
......
# expected: fail
# Tests for rich comparisons
import unittest
......
......@@ -62,6 +62,7 @@ test_descrtut `exec in DefaultDict()`
test_descr wontfix: crashes at "self.__dict__ = self"
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 wrong diff output?
test_distutils Doesn't like our .pyston.so extension; we need to copy in wininst-6.0.exe and similar
test_dis dis not really supported in Pyston
test_dl No module named dl
......@@ -123,6 +124,7 @@ test_pydoc Not sure, not generating the right docstrings
test_random long("invalid number")
test_repr complex.__hash__; some unknown issues
test_resource fails on travis-ci: setrlimit RLIMIT_CPU not allowed to raise maximum limit
test_richcmp Assertion `ovarargs->cls == tuple_cls' failed
test_runpy recursion-depth sisues on debug, 'imp has no attribute "get_magic"'
test_scope eval of code object from existing function (not currently supported)
test_scriptpackages No module named aetools
......
../../from_cpython/Lib/test/test_lib2to3.py
\ No newline at end of file
# Skipping test_parser and test_all_fixers
# because of running
from lib2to3.tests import (test_fixers, test_pytree, test_util, test_refactor,
test_parser, test_main as test_main_)
import unittest
from test.test_support import run_unittest
def suite():
tests = unittest.TestSuite()
loader = unittest.TestLoader()
for m in (test_fixers, test_pytree, test_util):
tests.addTests(loader.loadTestsFromModule(m))
return tests
def test_main():
run_unittest(suite())
if __name__ == '__main__':
test_main()
# Skipping test_parser and test_all_fixers
# because of running
from lib2to3.tests import (test_fixers, test_pytree, test_util, test_refactor,
test_parser, test_main as test_main_)
import unittest
from test.test_support import run_unittest
def suite():
tests = unittest.TestSuite()
loader = unittest.TestLoader()
for m in (test_refactor, test_parser, test_main_):
tests.addTests(loader.loadTestsFromModule(m))
return tests
def test_main():
run_unittest(suite())
if __name__ == '__main__':
test_main()
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