Skip to content

Commit

Permalink
Fix DeprecationWarning: setDaemon() is deprecated, set the daemon att…
Browse files Browse the repository at this point in the history
…ribute instead (#115)
  • Loading branch information
hugovk committed Jun 23, 2023
1 parent 07964f3 commit bcd80c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transaction/tests/test__manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ class Runner(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
self.manager = transaction.manager.manager
self.setDaemon(True)
self.daemon = True
self.start()

def run(self):
Expand Down

0 comments on commit bcd80c9

Please sign in to comment.