Skip to content

Commit

Permalink
switch from "setup.py test" to "python -m unittest" (pytest has a wei…
Browse files Browse the repository at this point in the history
…rd 'I/O operation on closed file' bug though)
  • Loading branch information
soimort committed Jun 23, 2024
1 parent 2569aa0 commit 4b9c951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install flake8 pytest
pip install flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ i:
@(cd src/; python3 -i -c 'import you_get; print("You-Get %s\n>>> import you_get" % you_get.version.__version__)')

test:
$(SETUP) test
(cd src; python -m unittest discover -s ../tests)

clean:
zenity --question
Expand Down

0 comments on commit 4b9c951

Please sign in to comment.