If I put any print instructions at the top of my module, and not inside any class / function, nothing is printed during my test through the nose.
import os
print 'hi'
def make_shapes(canvas):
"""
Generates shapes. Needs a Canvas instance to add the shapes to
"""
params = [canvas, Colour(0, 0, 0), 1]
Placing the print inside the function works. Any ideas?
source
share