Make compatible with nose.