Skip to content

Commit

Permalink
added valueError check.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyambhu-mukherjee committed Jul 15, 2020
1 parent bfd9488 commit f411c35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pygam/tests/test_GAM_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ def test_predict_terms_output(mcycle_X_y):
n,m = x.shape
assert(len(terms) == m)
assert(len(terms[0]) == n)
try:
terms = gam.predict(x,output = "shyambhu")
except:
assert(True)

class TestSamplingFromPosterior(object):

Expand Down

0 comments on commit f411c35

Please sign in to comment.