Skip to content

Commit

Permalink
test_owcsvimport: Fix path eq test
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Jul 1, 2020
1 parent 0b099bf commit dd03519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Orange/widgets/data/tests/test_owcsvimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from Orange.widgets.data.owcsvimport import (
pandas_to_table, ColumnType, RowSpec
)
from Orange.widgets.utils.pathutils import PathItem
from Orange.widgets.utils.pathutils import PathItem, samepath
from Orange.widgets.utils.settings import QSettings_writeArray
from Orange.widgets.utils.state_summary import format_summary_details

Expand Down Expand Up @@ -84,7 +84,7 @@ def test_restore(self):
}
)
item = w.current_item()
self.assertEqual(item.path(), path)
self.assertTrue(samepath(item.path(), path))
self.assertEqual(item.options(), self.data_regions_options)
out = self.get_output("Data", w)
self._check_data_regions(out)
Expand Down

0 comments on commit dd03519

Please sign in to comment.