From 334cb1ebedd202e366c836ed291ca0f64f6374b3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 16 Oct 2012 15:45:28 -0400 Subject: [PATCH] test.sh: use Python-3-compatible print(). --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2