diff --git a/mlxtend/preprocessing/tests/test_transactionencoder.py b/mlxtend/preprocessing/tests/test_transactionencoder.py index f5afd07e7..de5f14c5c 100644 --- a/mlxtend/preprocessing/tests/test_transactionencoder.py +++ b/mlxtend/preprocessing/tests/test_transactionencoder.py @@ -78,9 +78,7 @@ def test_fit_transform(): def test_inverse_transform(): oht = TransactionEncoder() oht.fit(dataset) - np.testing.assert_array_equal( - np.array(data_sorted), np.array(oht.inverse_transform(expect)) - ) + assert data_sorted == oht.inverse_transform(expect) def test_cloning():