We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1fccf commit 477d3b9Copy full SHA for 477d3b9
test/test_data.py
@@ -387,7 +387,7 @@ def test_inverse_transform_sparse_svd():
387
G.inverse_transform(G.data_nu, columns=data.shape[1])
388
389
# Flexible regex pattern that works across Python versions
390
- sparse_error_pattern = ".*sparse.*was passed, but dense data is required.*toarray.*to convert.*dense.*array.*"
+ sparse_error_pattern = r".*sparse.*passed, but dense data is required.*toarray\(\).*dense numpy array.*"
391
with assert_raises_message(
392
TypeError,
393
sparse_error_pattern,
0 commit comments