projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c5cbf0
)
Print tutorial init message to stderr so it won't interfere with doctests.
author
W. Trevor King
<wking@drexel.edu>
Wed, 11 Aug 2010 17:19:05 +0000
(13:19 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 11 Aug 2010 17:19:05 +0000
(13:19 -0400)
e.g.
nosetests --with-doctest --doctest-tests test/curve_info.py
hooke/plugin/tutorial.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/tutorial.py
b/hooke/plugin/tutorial.py
index 08b48f954cadf4a9beca4f37e4e19ad6c4f3f8a2..26ef38ea80b98947802859e3a90ac2615c7703d7 100644
(file)
--- a/
hooke/plugin/tutorial.py
+++ b/
hooke/plugin/tutorial.py
@@
-23,6
+23,7
@@
Hooke plugin, including description of main Hooke internals.
import logging
import StringIO
+import sys
from numpy import arange
@@
-65,7
+66,7
@@
class TutorialPlugin (Plugin):
# the plugin is loaded, this function is executed. If there
# is something you need to do when Hooke starts, code it in
# this function.
- print 'I am the Tutorial plugin initialization!'
+ print
>> sys.stderr,
'I am the Tutorial plugin initialization!'
# This super() call similar to the old-style
# Plugin.__init__