Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eb46288a
Commit
eb46288a
authored
Mar 15, 2011
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import style nits
parent
906f0c45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
Lib/test/test_fileinput.py
Lib/test/test_fileinput.py
+13
-8
No files found.
Lib/test/test_fileinput.py
View file @
eb46288a
...
...
@@ -2,18 +2,23 @@
Tests for fileinput module.
Nick Mathewson
'''
import
unittest
from
test.support
import
verbose
,
TESTFN
,
run_unittest
from
test.support
import
unlink
as
safe_unlink
import
os
,
sys
,
re
from
io
import
StringIO
from
fileinput
import
FileInput
,
hook_encoded
import
os
import
sys
import
re
import
fileinput
import
collections
import
gzip
,
bz2
import
gzip
import
bz2
import
types
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
# all the work, and a few functions (input, etc.) that use a global _state
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment