mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
test: fix on python3
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user