mirror of https://github.com/python/cpython
import style nits
This commit is contained in:
parent
906f0c45fd
commit
eb46288a8d
|
@ -2,18 +2,23 @@
|
||||||
Tests for fileinput module.
|
Tests for fileinput module.
|
||||||
Nick Mathewson
|
Nick Mathewson
|
||||||
'''
|
'''
|
||||||
|
import os
|
||||||
import unittest
|
import sys
|
||||||
from test.support import verbose, TESTFN, run_unittest
|
import re
|
||||||
from test.support import unlink as safe_unlink
|
|
||||||
import os, sys, re
|
|
||||||
from io import StringIO
|
|
||||||
from fileinput import FileInput, hook_encoded
|
|
||||||
import fileinput
|
import fileinput
|
||||||
import collections
|
import collections
|
||||||
import gzip, bz2
|
import gzip
|
||||||
|
import bz2
|
||||||
import types
|
import types
|
||||||
import codecs
|
import codecs
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
from io import StringIO
|
||||||
|
from fileinput import FileInput, hook_encoded
|
||||||
|
|
||||||
|
from test.support import verbose, TESTFN, run_unittest
|
||||||
|
from test.support import unlink as safe_unlink
|
||||||
|
|
||||||
|
|
||||||
# The fileinput module has 2 interfaces: the FileInput class which does
|
# The fileinput module has 2 interfaces: the FileInput class which does
|
||||||
# all the work, and a few functions (input, etc.) that use a global _state
|
# all the work, and a few functions (input, etc.) that use a global _state
|
||||||
|
|
Loading…
Reference in New Issue