Closed ihincks closed 7 years ago
test_smc
started failing?Okay, I think this will now pass when #116 is merged.
I think it is the The command "pylint --py3k qinfer/" exited with 2.
?
Seems as though there's a Py3 compatibility warning in qinfer.tests.base_test
that's triggering the exit code of 2? Weirdly, that's not happening when actually running Py3, so I'm not quite sure what's going on there. I'll investigate in the morning.
Not sure if this will fix it, but you reminded me I had some print statements in base_test.
Okay, that was it, going ahead with merge. Thanks for the review!
This PR adds a fairly comprehensive set of tests for concrete classes inheriting from
Domain
. This caught one bug inMultinomialDomain.example_point
due to a comma (fixed), and a couple of pretty obscure bugs, like reporting1j
is inRealDomain
since technically1j<np.inf
(also fixed).Note: Sorry, again, for all the trailing whitespace removal. My stupid (but nice in most other ways) text editor does this by default and without warning whenever you save a file. I have now figured out how to disable it.