Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
lib64
›
python2.7
›
test
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_fileinput.pyc
← Back
� zfc @ s d Z d d l Z d d l m Z m Z m Z d d l m Z m Z d d l Z d d l Z d d l m Z d d l m Z m Z d d � Z d � Z d d d � � YZ d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d � Z e d k re � n d S( s, Tests for fileinput module. Nick Mathewson i����N( t verboset TESTFNt run_unittest( t unlinkt check_warnings( t StringIO( t FileInputt hook_encodedt wc C s: t t | � } t | | � } | j | � | j � | S( N( R t strt opent writelinest close( t it linest modet namet f( ( s+ /usr/lib64/python2.7/test/test_fileinput.pyt writeTmp s c G s x | D] } t | � q Wd S( N( t safe_unlink( t namesR ( ( s+ /usr/lib64/python2.7/test/test_fileinput.pyt remove_tempfiles s t LineReaderc B sJ e Z d � Z e d � � Z d � Z d d � Z d d � Z d � Z RS( c C s g | _ d S( N( t _linesread( t self( ( s+ /usr/lib64/python2.7/test/test_fileinput.pyt __init__! s c C s z | j SWd g | _ Xd S( N( R ( R ( ( s+ /usr/lib64/python2.7/test/test_fileinput.pyt linesread$ s c C s t | j t � � | _ | S( N( t itert splitlinest Truet it( R t filenameR ( ( s+ /usr/lib64/python2.7/test/test_fileinput.pyt openhook+ s c C s&