refactor: maintainability issues in tests fixed.

This commit is contained in:
Fabian Joswig 2022-06-24 12:28:49 +01:00
parent 07d947d5b1
commit 338bf8906a
3 changed files with 7 additions and 8 deletions

View file

@ -249,9 +249,9 @@ def test_matrix_corr():
def test_corr_none_entries():
a = pe.pseudo_Obs(1.0, 0.1, 'a')
l = np.asarray([[a, a], [a, a]])
la = np.asarray([[a, a], [a, a]])
n = np.asarray([[None, None], [None, None]])
x = [l, n]
x = [la, n]
matr = pe.Corr(x)
matr.projected(np.asarray([1.0, 0.0]))