Skip to content

Commit

Permalink
Merge pull request #3770 from ajdapretnar/remove-metadata
Browse files Browse the repository at this point in the history
Tests: Remove also saved metadata
  • Loading branch information
lanzagar authored May 15, 2019
2 parents 2aa3c9c + d7226c6 commit 087031b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Orange/tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ def test_saveTab(self):
self.assertEqual(d[i][j], dd[i][j])
finally:
os.remove("test-zoo.tab")
os.remove("test-zoo.tab.metadata")

d = data.Table("zoo")
d.set_weights(range(len(d)))
Expand All @@ -815,6 +816,7 @@ def test_saveTab(self):
self.assertEqual(d[i][j], dd[i][j])
finally:
os.remove("test-zoo-weights.tab")
os.remove("test-zoo-weights.tab.metadata")

def test_save_pickle(self):
table = data.Table("iris")
Expand Down

0 comments on commit 087031b

Please sign in to comment.