Skip to content

Commit cb21bae

Browse files
authored
setDaemon is deprecated
The new way to do this is to `daemon = True`
1 parent 75e04eb commit cb21bae

File tree

1 file changed

+1
-1
lines changed
  • pytest-server-fixtures/pytest_server_fixtures

1 file changed

+1
-1
lines changed

pytest-server-fixtures/pytest_server_fixtures/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def __init__(self, process, stream, stderr):
104104
self.process = process
105105
self.stream = stream
106106
super(ProcessReader, self).__init__()
107-
self.setDaemon(True)
107+
self.daemon = True
108108

109109
def run(self):
110110
while self.process.poll() is None:

0 commit comments

Comments
 (0)