rpy dependency in tests
Bug #422330 reported by
joep
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
statsmodels |
Invalid
|
Undecided
|
Unassigned |
Bug Description
class TestWLS in test_regression uses RModel in the __inti__ which raises a NameError when rpy is missing. If rpy is found missing, then RModel is not imported and therefore not available.
Solution:
Move the call to RModel to the setup method, as we did for all other test classes.
To post a comment you must log in.
Should be fixed in trunk revision 1904.