Skip to content

Commit 8ffcf6f

Browse files
committed
PYTHON-5784 Replace boom with error in exception messages
1 parent d5fe8b4 commit 8ffcf6f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/asynchronous/test_periodic_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _capture_excepthook(args):
145145

146146
def target():
147147
ran.set()
148-
raise RuntimeError("boom")
148+
raise RuntimeError("error")
149149

150150
self.executor = _make_executor(target=target)
151151
self.executor.open()
@@ -161,7 +161,7 @@ def target():
161161

162162
async def target():
163163
ran.set()
164-
raise RuntimeError("async boom")
164+
raise RuntimeError("error")
165165

166166
self.executor = _make_executor(target=target)
167167
self.executor.open()

test/test_periodic_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def _capture_excepthook(args):
143143

144144
def target():
145145
ran.set()
146-
raise RuntimeError("boom")
146+
raise RuntimeError("error")
147147

148148
self.executor = _make_executor(target=target)
149149
self.executor.open()
@@ -159,7 +159,7 @@ def target():
159159

160160
def target():
161161
ran.set()
162-
raise RuntimeError("async boom")
162+
raise RuntimeError("error")
163163

164164
self.executor = _make_executor(target=target)
165165
self.executor.open()

0 commit comments

Comments
 (0)