Skip to content

Commit

Permalink
pass on tensorflow ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandrmgservices committed Jan 11, 2024
1 parent 34cddfc commit 8fc7abc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_dragonnet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from causalml.inference.tf import DragonNet
try:
from causalml.inference.tf import DragonNet
except ImportError:
pass
from causalml.dataset.regression import simulate_nuisance_and_easy_treatment
import shutil
import pytest
Expand Down

0 comments on commit 8fc7abc

Please sign in to comment.