Skip to content

Commit

Permalink
test_owmergedata: Change copy to unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak committed Oct 8, 2021
1 parent d45703c commit 45d3fc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Orange/widgets/data/tests/test_owmergedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,8 @@ def test_sparse(self):
self.assertTrue(sp.issparse(output_sparse.X))
self.assertTrue(output_sparse.is_sparse())

output_sparse = output_sparse.copy()
with output_sparse.unlocked():
output_sparse.X = output_sparse.X.toarray()
self.assertTablesEqual(output_dense, output_sparse)

def test_commit_on_new_data(self):
Expand Down

0 comments on commit 45d3fc5

Please sign in to comment.