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