Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/internet/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/internet/test/test_pollingfile.pyc

ó
[³XMc@s}dZddlmZddlmZejƒrEddlmZndZdefd„ƒYZ	edkryde	_
ndS(	s-
Tests for L{twisted.internet._pollingfile}.
iÿÿÿÿ(tplatform(tTestCase(t_pollingfiletTestPollableWritePipecBseZdZd„ZRS(s7
    Tests for L{_pollingfile._PollableWritePipe}.
    cCsPtjdd„ƒ}|jdƒ|jƒ|jdƒ|jt|jƒdS(sÎ
        When one tries to pass unicode to L{_pollingfile._PollableWritePipe}, a
        C{TypeError} is raised instead of passing the data to C{WriteFile}
        call which is going to mangle it.
        icSsdS(N(tNone(((sJ/usr/lib/python2.7/dist-packages/twisted/internet/test/test_pollingfile.pyt<lambda>sttestutestN(Rt_PollableWritePipetwritet	checkWorktassertRaisest	TypeError(tselftp((sJ/usr/lib/python2.7/dist-packages/twisted/internet/test/test_pollingfile.pyttest_checkWorkUnicodes



(t__name__t
__module__t__doc__R(((sJ/usr/lib/python2.7/dist-packages/twisted/internet/test/test_pollingfile.pyRss,_pollingfile is only avalable under Windows.N(Rttwisted.python.runtimeRttwisted.trial.unittestRt	isWindowsttwisted.internetRRRtskip(((sJ/usr/lib/python2.7/dist-packages/twisted/internet/test/test_pollingfile.pyt<module>s