summaryrefslogtreecommitdiff
path: root/nemesis/nemesis.py
diff options
context:
space:
mode:
Diffstat (limited to 'nemesis/nemesis.py')
-rwxr-xr-xnemesis/nemesis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nemesis/nemesis.py b/nemesis/nemesis.py
index 7eed743..6d2941c 100755
--- a/nemesis/nemesis.py
+++ b/nemesis/nemesis.py
@@ -128,7 +128,7 @@ class Nemesis(object):
loops = Nemesis._get_event_loops()
for loop in loops:
if not isinstance(loop, CausalEventLoop):
- raise RuntimeError("Nemesis requires a custom event loop to insert slowdowns. It does not work on programs which change the event loop policy.")
+ raise RuntimeError(f"Nemesis requires a custom event loop to insert slowdowns. You must start the event loop with `asyncio.run(your_coro(), loop_factory=causal_loop_factory)'.")
loop.set_speedup(speedup)
Nemesis.experiment_data = Experiment(loops)