[Python-Dev] test_email always supposed to be skipped?
Brett Cannon
brett@python.org
Sun, 19 Jan 2003 15:57:26 -0800 (PST)
I just updated my copy of CVS, compiled, and installed and once again the
test_email testing suite was skipped because regrtest.py couldn't find
email.test when running it from my newly installed copy. Since the
Makefile does not list email/test as a subdirectory to install I assume it
is not supposed to be installed and all of this is on purpose. So why
even have test_email.py installed if it is always going to fail? If the
only way to run it is to use the executable compiled in your CVS directory
I don't see the point of having ``make install`` copy test_email over.
Would it be reasonable to add a note to test_email.py that email.test is
not installed and so it being skipped is expected outside of the CVS
directory? Or add some code that will just pass the test if email.test
can't be imported? Or at least have it raise TestSkipped on its own and
have it output that this is expected if you are not running from a copy of
CVS?
-Brett