JMU-CS / JMU-CS/jmu_pytest_utils
Add line number and filename when an error is raised
Open
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Right now, students see an error like:
```
IndexError: string index out of range
```
Or:
```
TypeError: ord() expected a character, but string of length 0 found
```
It's unclear whether the error occurs in the student code or test code. Showing the line number would let the student know where to look first, or at least know what question to ask.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.