Skip to content

Commit

Permalink
pytest stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
kentslaney committed Feb 2, 2024
1 parent 37eb65c commit 31d8569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions misc/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ case "$1" in
shift 2
cmds=(-ex start)
for arg in "$@"; do cmds+=(-ex "$arg"); done
cygdb . -- "${cmds[@]}" --args python setup.py test -a "-k $pattern"
cygdb . -- "${cmds[@]}" --args python setup.py test -a "--full-trace -s -k $pattern"
else
cygdb . -- -ex start --args python setup.py test
cygdb . -- -ex start --args python setup.py test -a -s
fi
;;
run-test)
Expand Down Expand Up @@ -89,6 +89,7 @@ case "$1" in
greenify=`python -c "import greenify; print(greenify.__file__)"`
deactivate
cd `dirname "$greenify"`
rm -fr build
virtualize "`which python-dbg || which python3-dbg`"
python setup.py build_ext --inplace
;;
Expand Down
4 changes: 2 additions & 2 deletions tests/test_client_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class ThreadedGreenletCompat(unittest.TestCase, ThreadedClientOps):
def setUp(self):
global gevent
import gevent
import gevent.monkey
gevent.monkey.patch_all()
# import gevent.monkey
# gevent.monkey.patch_all()

import greenify, libmc
greenify.greenify()
Expand Down

0 comments on commit 31d8569

Please sign in to comment.