wbolster / emacs-python-pytest

run pytest inside emacs
BSD 3-Clause "New" or "Revised" License
149 stars 26 forks source link

incorrect handling of -m and -k flags #36

Closed wbolster closed 3 years ago

wbolster commented 4 years ago

the -k and -m flags are broken, and result in pytest invocations like this:

pytest --color=yes --verbose -k '=foo'

... which results in an error, e.g.:

ERROR: Wrong expression passed to '-k': =foo: at column 1: unexpected character "="