sim: Do not direct user to deprecated add_sync_process.

This commit is contained in:
Wanda 2024-03-13 13:50:42 +01:00 committed by Catherine
parent 455a7bc6c8
commit 5edff532a8

View file

@ -143,8 +143,7 @@ class PyCoroProcess(BaseProcess):
elif command is None: # only possible if self.default_cmd is None
raise TypeError("Received default command from process {!r} that was added "
"with add_process(); did you mean to add this process with "
"add_sync_process() instead?"
"with add_process(); did you mean to use Tick() instead?"
.format(self.src_loc()))
else: