Skip to content

Commit

Permalink
- switch import for Python 3.13 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jan 25, 2024
1 parent 4f9048a commit 2b8c175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zope/testrunner/tests/test_threadsupport.py
Expand Up @@ -11,9 +11,9 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
from _thread import start_new_thread
from threading import Lock
from threading import Thread
from threading import _start_new_thread
from time import sleep
from unittest import TestCase
from unittest import skipUnless
Expand Down Expand Up @@ -43,7 +43,7 @@ def __init__(self, name):

class DummyThread(ThreadMixin):
def start(self):
_start_new_thread(self.run, ())
start_new_thread(self.run, ())


class Tests(TestCase):
Expand Down

0 comments on commit 2b8c175

Please sign in to comment.