Commit 6b2c893e authored by Kevin Modzelewski's avatar Kevin Modzelewski

Remove these old warning annotations

parent 0920ed13
# allow-warning: import level 0 will be treated as -1
import gzip
import io
......
# allow-warning: import level 0 will be treated as -1
import io
filename = "io_test_.txt"
......
# allow-warning: import level 0 will be treated as -1
# Simple optparse test, taken from the optparse.py docstring:
from optparse import OptionParser
......
# allow-warning: import level 0 will be treated as -1
import pickle
l = [[], (123,)]
......
# allow-warning: import level 0 will be treated as -1
# skip-if: '-x' in EXTRA_JIT_ARGS
def f(a):
......
# allow-warning: import level 0 will be treated as -1!
def test(string, encoding):
s = string.encode(encoding)
print encoding, s
......
# skip-if: '-x' in EXTRA_JIT_ARGS
# allow-warning: import level 0 will be treated as -1
print repr(unicode())
print repr(unicode('hello world'))
......
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