/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/http_server.py

merge bzr.dev@3883

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
             # WSAENOTCONN (10057) 'Socket is not connected' is harmless on
375
375
             # windows (occurs before the first connection attempt
376
376
             # vila--20071230)
377
 
             if not len(e.args) or e.args[0] != 10057:
 
377
 
 
378
             # 'Socket is not connected' can also occur on OSX, with a
 
379
             # "regular" ENOTCONN (when something went wrong during test case
 
380
             # setup leading to self.setUp() *not* being called but
 
381
             # self.tearDown() still being called -- vila20081106
 
382
             if not len(e.args) or e.args[0] not in (errno.ENOTCONN, 10057):
378
383
                 raise
379
384
         # Let the server properly close the socket
380
385
         self.server_close()