>>> from PyMC import MCMC
>>> MCMC.unittest.main()
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
However, the following works:
>>> from PyMC.MCMC import *
>>> unittest.main()
The unit test runs as expected. This seems odd, since the former should be the preferred syntax, as we are told the "from foo import *" syntax is to be avoided.
Any idea why this is not working as expected?
C.
--
Chris Fonnesbeck + Atlanta, GA + http://trichech.us
-- http://mail.python.org/mailman/listinfo/python-list