Commit a7c5cfcb authored by Kevin Modzelewski's avatar Kevin Modzelewski

Remove these test annotations now that the underlying issue is addressed

parent 4a690b37
# allow-warning: converting unicode literal to str
import collections import collections
o = collections.OrderedDict() o = collections.OrderedDict()
......
# allow-warning: converting unicode literal to str
import os import os
import tempfile import tempfile
......
# no-collect-stats # no-collect-stats
# allow-warning: converting unicode literal to str
from thread import start_new_thread from thread import start_new_thread
import time import time
......
# allow-warning: converting unicode literal to str
# Generators participate in the notional Python stack just like normal function calls do, # Generators participate in the notional Python stack just like normal function calls do,
# even if we implement them using separate C stacks. # even if we implement them using separate C stacks.
# #
......
# allow-warning: converting unicode literal to str
try: try:
import non_existent_module import non_existent_module
assert 0, "shouldn't get here" assert 0, "shouldn't get here"
......
# allow-warning: converting unicode literal to str
# allow-warning: import level 0 will be treated as -1 # allow-warning: import level 0 will be treated as -1
# Simple optparse test, taken from the optparse.py docstring: # Simple optparse test, taken from the optparse.py docstring:
......
# allow-warning: converting unicode literal to str
import os.path import os.path
print type(os) print type(os)
......
# allow-warning: converting unicode literal to str #
# currently broken: # currently broken:
# import os.path # import os.path
......
# allow-warning: converting unicode literal to str
# allow-warning: import level 0 will be treated as -1 # allow-warning: import level 0 will be treated as -1
import pickle import pickle
......
# allow-warning: converting unicode literal to str
import pwd import pwd
import os import os
print pwd.getpwuid(os.getuid())[5] == os.environ["HOME"] print pwd.getpwuid(os.getuid())[5] == os.environ["HOME"]
# allow-warning: converting unicode literal to str
import random import random
print type(random.random()) print type(random.random())
# allow-warning: converting unicode literal to str
import socket import socket
s = socket.socket() s = socket.socket()
......
# allow-warning: converting unicode literal to str
# allow-warning: import level 0 will be treated as -1! # allow-warning: import level 0 will be treated as -1!
def test(string, encoding): def test(string, encoding):
s = string.encode(encoding) s = string.encode(encoding)
......
# allow-warning: converting unicode literal to str
import subprocess import subprocess
subprocess.check_call(["true"]) subprocess.check_call(["true"])
......
# allow-warning: converting unicode literal to str
import sys import sys
import os.path import os.path
......
# allow-warning: converting unicode literal to str
import os import os
import tempfile import tempfile
......
# skip-if: '-n' in EXTRA_JIT_ARGS or '-O' in EXTRA_JIT_ARGS # skip-if: '-n' in EXTRA_JIT_ARGS or '-O' in EXTRA_JIT_ARGS
# allow-warning: converting unicode literal to str
# Make sure that we can fork from a threaded environment # Make sure that we can fork from a threaded environment
# #
......
# allow-warning: converting unicode literal to str
# Make sure we can spawn a bunch of threads # Make sure we can spawn a bunch of threads
import threading import threading
......
# allow-warning: converting unicode literal to str
# expected: fail # expected: fail
# - we don't stop tracebacks at the catching except handler. this is hard do the way it gets added to # - we don't stop tracebacks at the catching except handler. this is hard do the way it gets added to
# (ie a bare "raise" statement will add more traceback entries to the traceback it raises) # (ie a bare "raise" statement will add more traceback entries to the traceback it raises)
......
# allow-warning: converting unicode literal to str
# A test of both the tracebacks we generate and the tracebacks module # A test of both the tracebacks we generate and the tracebacks module
# #
# (We keep fixing tracebacks in one case to break them in another, so it's time for a test.) # (We keep fixing tracebacks in one case to break them in another, so it's time for a test.)
......
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