forked from github/pelican
Update tasks.py
PTY is not supported on Windows.
This commit is contained in:
parent
1219bcd029
commit
cf4e8d527d
1 changed files with 2 additions and 1 deletions
3
tasks.py
3
tasks.py
|
|
@ -42,7 +42,8 @@ def docserve(c):
|
|||
@task
|
||||
def tests(c):
|
||||
"""Run the test suite"""
|
||||
c.run(f"{VENV_BIN}/pytest", pty=True)
|
||||
PTY = True if os.name != "nt" else False
|
||||
c.run(f"{VENV_BIN}/pytest", pty=PTY)
|
||||
|
||||
|
||||
@task
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue