Author: Johan Forsberg <[email protected]>
Branch: py3.6
Changeset: r94911:11f17afc7367
Date: 2018-07-28 12:24 +0100
http://bitbucket.org/pypy/pypy/changeset/11f17afc7367/

Log:    Add missing argument to scandir.

diff --git a/pypy/module/posix/test/test_scandir.py 
b/pypy/module/posix/test/test_scandir.py
--- a/pypy/module/posix/test/test_scandir.py
+++ b/pypy/module/posix/test/test_scandir.py
@@ -224,7 +224,7 @@
 
     def test_lstat(self):
         posix = self.posix
-        d = next(posix.scandir())
+        d = next(posix.scandir(self.dir1))
         with open(d) as fp:
             length = len(fp.read())
         assert posix.lstat(d).st_size == length
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to