def join(self, timeout=None):
        self._stopevent.set()
        threading.Thread.join(self, timeout)
Stop the thread and wait for it to finish.
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tests/testcases.py/TestServerThread.join