Skip to content

Commit 5c26ba9

Browse files
committed
minor: wrap_session: s/Spurious/unexpected/
1 parent 5a544d4 commit 5c26ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def wrap_session(config, doit):
225225
config.notify_exception(excinfo, config.option)
226226
session.exitstatus = EXIT_INTERNALERROR
227227
if excinfo.errisinstance(SystemExit):
228-
sys.stderr.write("mainloop: caught Spurious SystemExit!\n")
228+
sys.stderr.write("mainloop: caught unexpected SystemExit!\n")
229229

230230
finally:
231231
excinfo = None # Explicitly break reference cycle.

0 commit comments

Comments
 (0)