Skip to content

Commit

Permalink
Python3 compatibility (removed print commands)
Browse files Browse the repository at this point in the history
  • Loading branch information
willu47 committed Jul 2, 2015
1 parent 4d31bb5 commit adf53e3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SALib/tests/test_ff.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def test_extend_bounds():
np.array([0, 1]), np.array([0, 1])],
'num_vars': 16}

print actual
assert_equal(actual, expected)

def test_ff_sample():
Expand Down Expand Up @@ -104,7 +103,6 @@ def test_ff_example():
}

X = sample(problem)
print X
Y = X[:, 0] + 2 * X[:, 1] + 3 * X[:, 2] + 4 * X[:, 6] * X[:, 11]

expected = np.array([10, -2, 4, -8, 2, 6, -4,
Expand Down Expand Up @@ -136,7 +134,6 @@ def test_interactions_from_saltelli():
- 10, 2, -4, 8, -2, -6, 4, 0])

Si = analyze(problem, X, Y, second_order=True)
print Si
actual = Si['IE']
expected = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
Expand Down

0 comments on commit adf53e3

Please sign in to comment.