💚 ACTUALLY fix the tests

Now that was embarrassing...
This commit is contained in:
Gina Häußge committed 2022-01-26 13:48:42 +01:00
1 parent 1582151a09
commit 71fdbea090
1 file changed
+1 -1
+1 -1
View File
@@ -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