From: W. Trevor King Date: Tue, 16 Oct 2012 19:45:28 +0000 (-0400) Subject: test.sh: use Python-3-compatible print(). X-Git-Tag: 0.6~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=334cb1ebedd202e366c836ed291ca0f64f6374b3;p=pycomedi.git test.sh: use Python-3-compatible print(). --- diff --git a/test.sh b/test.sh index 0cc185f..b5ea21e 100755 --- a/test.sh +++ b/test.sh @@ -6,7 +6,7 @@ nosetests --with-doctest pycomedi ls pycomedi | grep '.pyx$'| while read file; do mod="${file/.pyx/}" echo "$mod" - python -c "import doctest, sys; import pycomedi.$mod as m; r = doctest.testmod(m); print r; sys.exit(r.failed)" + python -c "import doctest, sys; import pycomedi.$mod as m; r = doctest.testmod(m); print(r); sys.exit(r.failed)" done nosetests --with-doctest --doctest-extension=.txt doc nosetests --with-doctest doc/demo/*.py