Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
disable a unit test when R is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Mar 12, 2016
1 parent aa378de commit 3bbdb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _unittests/ut_module/test_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_r(self):
self._testMethodName,
OutputPrint=__name__ == "__main__")

if "R_HOME" in os.environ:
if "R_HOME" not in os.environ:
warnings.warn("R is not installed")
return

Expand Down

0 comments on commit 3bbdb9b

Please sign in to comment.