Author: Matti Picus <matti.pi...@gmail.com>
Branch: 
Changeset: r70950:253828267285
Date: 2014-04-24 23:53 +0300
http://bitbucket.org/pypy/pypy/changeset/253828267285/

Log:    fix test

diff --git a/rpython/rlib/test/test_rposix.py b/rpython/rlib/test/test_rposix.py
--- a/rpython/rlib/test/test_rposix.py
+++ b/rpython/rlib/test/test_rposix.py
@@ -104,9 +104,11 @@
             def f():
                 if isinstance(udir.as_unicode(), str):
                     _udir = udir.as_unicode()
+                    _res = ', '
                 else:
                     _udir = udir
-                return u', '.join(rposix.listdir(_udir))
+                    _res = u', '
+                return _res.join(rposix.listdir(_udir))
             result = interpret(f, [])
             assert os.path.basename(self.ufilename) in ll_to_string(result)
         else:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to