diff --git a/brian2/units/fundamentalunits.py b/brian2/units/fundamentalunits.py index 64ece0d06..a68db623c 100644 --- a/brian2/units/fundamentalunits.py +++ b/brian2/units/fundamentalunits.py @@ -2774,7 +2774,7 @@ def new_f(*args, **kwds): value = newkeyset[k] error_message = ( f"Function '{f.__name__}' " - "expected a quantitity with unit " + "expected a quantity with unit " f"{unit} for argument '{k}' but got " f"'{value}'" )