💚 ACTUALLY fix the tests
Now that was embarrassing...
This commit is contained in:
1 parent
1582151a09
commit
71fdbea090
1 file changed
+1
-1
@@ -163,7 +163,7 @@ class PipUtilTest(unittest.TestCase):
|
||||
def _get_lines(self, file):
|
||||
with io.open(os.path.join(self._test_data, file), "r", encoding="utf-8") as f:
|
||||
lines = list(
|
||||
map(lambda x: x.rstrip, f.readlines())
|
||||
map(lambda x: x.rstrip(), f.readlines())
|
||||
) # not str.rstrip because in py2 it'll be unicode...
|
||||
return lines
|
||||
|
||||
|
||||
Reference in new issue
Block a user