Commit a0412c43 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Batch-label failing cpython tests

And also label the ones that are failing due to generator abandonment
parent eded0a5d
# expected: reffail
""" """
These tests only check url parsing for now. These tests only check url parsing for now.
We don't want to require the 'network' resource. We don't want to require the 'network' resource.
......
# expected: reffail
# - generator abandonment
# 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.
......
# expected: reffail
# - generator abandonment
"""Unit tests for numbers.py.""" """Unit tests for numbers.py."""
import math import math
......
# expected: reffail
"""Test the arraymodule. """Test the arraymodule.
Roger E. Masse Roger E. Masse
""" """
......
# expected: reffail
import sys, itertools, unittest import sys, itertools, unittest
from test import test_support from test import test_support
import ast import ast
......
# expected: reffail
from test.test_support import run_unittest from test.test_support import run_unittest
from test.test_math import parse_testfile from test.test_math import parse_testfile
import unittest import unittest
......
# expected: reffail
# - generator abandonment
import unittest, doctest, operator import unittest, doctest, operator
import inspect import inspect
from test import test_support from test import test_support
......
# expected: reffail
# - generator abandonment
"""Unit tests for contextlib.py, and other context managers.""" """Unit tests for contextlib.py, and other context managers."""
import sys import sys
......
# expected: reffail
# - generator abandonment
import cPickle import cPickle
import cStringIO import cStringIO
import io import io
......
# expected: reffail
# - generator abandonment
# Copyright (c) 2004 Python Software Foundation. # Copyright (c) 2004 Python Software Foundation.
# All rights reserved. # All rights reserved.
......
# expected: reffail
from DocXMLRPCServer import DocXMLRPCServer from DocXMLRPCServer import DocXMLRPCServer
import httplib import httplib
import sys import sys
......
# expected: reffail
# - generator abandonment
# 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.
......
# expected: reffail
import sys import sys
import os import os
import unittest import unittest
......
# expected: reffail
# 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
# #
......
# expected: reffail
''' '''
Tests for fileinput module. Tests for fileinput module.
Nick Mathewson Nick Mathewson
......
# expected: reffail
# Adapted from test_file.py by Daniel Stutzbach # Adapted from test_file.py by Daniel Stutzbach
from __future__ import unicode_literals from __future__ import unicode_literals
......
# expected: reffail
# - generator abandonment
import unittest, struct import unittest, struct
import os import os
from test import test_support from test import test_support
......
# expected: reffail
# - generator abandonment
"""Tests for Lib/fractions.py.""" """Tests for Lib/fractions.py."""
from decimal import Decimal from decimal import Decimal
......
# expected: reffail
"""Test script for ftplib module.""" """Test script for ftplib module."""
# Modified by Giampaolo Rodola' to test FTP class, IPv6 and TLS # Modified by Giampaolo Rodola' to test FTP class, IPv6 and TLS
......
# expected: reffail
"""Test script for the gzip module. """Test script for the gzip module.
""" """
......
# expected: reffail
import unittest import unittest
from test import test_support from test import test_support
import operator import operator
......
# expected: reffail
import sys import sys
import unittest import unittest
......
# expected: reffail
# - generator abandonment
from test.test_support import run_unittest, verbose from test.test_support import run_unittest, verbose
import unittest import unittest
import locale import locale
......
# expected: reffail
# Copyright 2001-2013 by Vinay Sajip. All Rights Reserved. # Copyright 2001-2013 by Vinay Sajip. All Rights Reserved.
# #
# Permission to use, copy, modify, and distribute this software and its # Permission to use, copy, modify, and distribute this software and its
......
# expected: reffail
import unittest import unittest
import sys import sys
......
# expected: reffail
# - generator abandonment
import os import os
import sys import sys
import time import time
......
# expected: reffail
# 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
......
# expected: reffail
"""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: reffail
import mimetypes import mimetypes
import StringIO import StringIO
import unittest import unittest
......
# expected: reffail
# test for xml.dom.minidom # test for xml.dom.minidom
import pickle import pickle
......
# expected: reffail
import parser import parser
import unittest import unittest
import sys import sys
......
# expected: reffail
# - generator abandonment
import pickle import pickle
from cStringIO import StringIO from cStringIO import StringIO
......
# expected: reffail
# - generator abandonment
import pickle import pickle
import pickletools import pickletools
from test import test_support from test import test_support
......
# expected: reffail
# - generator abandonment
from test.test_support import run_unittest from test.test_support import run_unittest
import unittest import unittest
import sys import sys
......
# expected: reffail
# Copyright (C) 2003 Python Software Foundation # Copyright (C) 2003 Python Software Foundation
import unittest import unittest
......
# expected: reffail
"Test posix functions" "Test posix functions"
from test import test_support from test import test_support
......
# expected: reffail
# - generator abandonment
from test import test_support from test import test_support
import unittest import unittest
......
# expected: reffail
from test.test_support import verbose, run_unittest, import_module from test.test_support import verbose, run_unittest, import_module
from test.test_support import precisionbigmemtest, _2G, cpython_only from test.test_support import precisionbigmemtest, _2G, cpython_only
from test.test_support import captured_stdout from test.test_support import captured_stdout
......
# expected: reffail
# - generator abandonment
import unittest, StringIO, robotparser import unittest, StringIO, robotparser
from test import test_support from test import test_support
from urllib2 import urlopen, HTTPError from urllib2 import urlopen, HTTPError
......
# expected: reffail
# regression test for SAX 2.0 -*- coding: utf-8 -*- # regression test for SAX 2.0 -*- coding: utf-8 -*-
# $Id$ # $Id$
......
# expected: reffail
# - generator abandonment
import unittest import unittest
from test import test_support from test import test_support
import gc import gc
......
# expected: reffail
# Copyright (C) 2003 Python Software Foundation # Copyright (C) 2003 Python Software Foundation
import unittest import unittest
......
# expected: reffail
import unittest import unittest
from test import test_support from test import test_support
from contextlib import closing from contextlib import closing
......
# expected: reffail
# Test the support for SSL and sockets # Test the support for SSL and sockets
import sys import sys
......
# expected: reffail
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
......
# expected: reffail
import unittest import unittest
from test import test_support from test import test_support
......
# expected: reffail
import socket import socket
import telnetlib import telnetlib
import time import time
......
# expected: reffail
from test import test_support, seq_tests from test import test_support, seq_tests
import gc import gc
......
# expected: reffail
# - generator abandonment
"""Unit tests for __instancecheck__ and __subclasscheck__.""" """Unit tests for __instancecheck__ and __subclasscheck__."""
import unittest import unittest
......
# expected: reffail
doctests = """ doctests = """
Unpack tuple Unpack tuple
......
# expected: reffail
# - generator abandonment
"""Regresssion tests for urllib""" """Regresssion tests for urllib"""
import urllib import urllib
......
# expected: reffail
# - generator abandonment
import unittest import unittest
from test import test_support from test import test_support
......
# expected: reffail
import urlparse import urlparse
import urllib2 import urllib2
import BaseHTTPServer import BaseHTTPServer
......
# expected: reffail
# - generator abandonment
import unittest import unittest
from test import test_support from test import test_support
from test.test_urllib2 import sanepathname2url from test.test_urllib2 import sanepathname2url
......
# expected: reffail
# - generator abandonment
from test import test_support from test import test_support
import unittest import unittest
import urlparse import urlparse
......
# expected: reffail
# - generator abandonment
"""Unit tests for the with statement specified in PEP 343.""" """Unit tests for the with statement specified in PEP 343."""
......
# expected: reffail
# - generator abandonment
# Python test set -- built-in functions # Python test set -- built-in functions
import test.test_support, unittest import test.test_support, unittest
......
...@@ -39,7 +39,7 @@ public: ...@@ -39,7 +39,7 @@ public:
} }
~BoxIteratorGeneric() { ~BoxIteratorGeneric() {
assert(!value); Py_XDECREF(value);
Py_XDECREF(iterator); Py_XDECREF(iterator);
} }
......
# expected: reffail
# XXX TypeErrors on calling handlers, or on bad return values from a # XXX TypeErrors on calling handlers, or on bad return values from a
# handler, are obscure and unhelpful. # handler, are obscure and unhelpful.
......
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