Skip to content

Commit

Permalink
Fix: import fails due to pytest ModuleNotFoundError
Browse files Browse the repository at this point in the history
`import pecos` currently fails due to `pytest` being called on this line: https://github.com/sandialabs/pecos/blob/e0aea99535f92f6f63f38387a79898ccb6966f37/pecos/graphics.py#L423

This commit moves pytest up to the required section which allows pytest to be installed during the `pip` installation step.
  • Loading branch information
simmsa committed Oct 27, 2023
1 parent e0aea99 commit e5e58f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pandas
numpy
jinja2
matplotlib
pytest

# Optional
pvlib
Expand All @@ -15,5 +16,4 @@ sphinx
sphinx_rtd_theme

# Testing
pytest
coverage

0 comments on commit e5e58f6

Please sign in to comment.