test: fix on python3

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-01-15 15:58:52 +02:00
parent 0edf45cd15
commit ddf40a9cf9
+1 -1
View File
@@ -44,7 +44,7 @@ class CheckoutBase(TestDvc):
self.dvc.scm.commit('adding ' + fname)
def read_ignored(self):
return map(lambda s: s.strip('\n'), open(self.GIT_IGNORE).readlines())
return list(map(lambda s: s.strip('\n'), open(self.GIT_IGNORE).readlines()))
class TestRemoveFilesWhenCheckout(CheckoutBase):