Skip to content

Commit

Permalink
FIX/TST fix bug variable name for pure test (scikit-learn#8562)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored and lesteve committed Mar 9, 2017
1 parent 33a9bca commit 603ff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/tree/tests/test_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def test_pure_set():
for name, TreeRegressor in REG_TREES.items():
reg = TreeRegressor(random_state=0)
reg.fit(X, y)
assert_almost_equal(clf.predict(X), y,
assert_almost_equal(reg.predict(X), y,
err_msg="Failed with {0}".format(name))


Expand Down

0 comments on commit 603ff1a

Please sign in to comment.