File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111
1212from ..python .itertools import interlace
1313from ..python .structlib import split_sized_data
14- from ..python .contextlib import *
1514from ..python import functools
1615from ..python import itertools
1716from ..python .socket import find_available_port
@@ -154,17 +153,6 @@ def testFindAvailable(self):
154153 finally :
155154 s .close ()
156155
157- class test_contextlib (unittest .TestCase ):
158- def testNoCM (self ):
159- with NoCM as foo :
160- pass
161- self .assertEqual (foo , None )
162- self .assertEqual (NoCM (), NoCM )
163- # has no state, may be used repeatedly
164- with NoCM as foo :
165- pass
166- self .assertEqual (foo , None )
167-
168156def join_sized_data (* data ,
169157 packL = struct .Struct ("!L" ).pack ,
170158 getlen = lambda x : len (x ) if x is not None else 0xFFFFFFFF
You can’t perform that action at this time.
0 commit comments