/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 breezy/tests/test_server.py

Avoid deprecated Thread.isAlive().

Merged from https://code.launchpad.net/~jelmer/brz/is-alive/+merge/385317

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
 
250
250
class TestThread(cethread.CatchingExceptionThread):
251
251
 
252
 
    if not getattr(cethread.CatchingExceptionThread, 'is_alive', None):
253
 
        def is_alive(self):
254
 
            return self.isAlive()
255
 
 
256
252
    def join(self, timeout=5):
257
253
        """Overrides to use a default timeout.
258
254