Update instructions.append.md (#3947)
Instruction does not match the unit test. The exception message tested in the unit test is more precise. Hence, I've changed the instruction.
This commit is contained in:
@@ -10,7 +10,7 @@ To raise a `ValueError` with a message, write the message as an argument to the
|
||||
|
||||
```python
|
||||
# span of numbers is longer than number series
|
||||
raise ValueError("span must be smaller than string length")
|
||||
raise ValueError("span must not exceed string length")
|
||||
|
||||
# span of number is negative
|
||||
raise ValueError("span must not be negative")
|
||||
|
||||
Reference in New Issue
Block a user