rpy dependency in tests

Bug #422330 reported by joep
6
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.

Tags: tests
Revision history for this message
Skipper Seabold (jsseabold) wrote :

Should be fixed in trunk revision 1904.

Changed in statsmodels:
status: New → Fix Committed
Revision history for this message
Skipper Seabold (jsseabold) wrote :

Rpy dependency should now be completely removed.

Changed in statsmodels:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.