Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r88816:e020df6cd749
Date: 2016-12-02 12:31 +0100
http://bitbucket.org/pypy/pypy/changeset/e020df6cd749/

Log:    fix test

diff --git a/pypy/module/posix/test/test_posix2.py 
b/pypy/module/posix/test/test_posix2.py
--- a/pypy/module/posix/test/test_posix2.py
+++ b/pypy/module/posix/test/test_posix2.py
@@ -175,7 +175,7 @@
         assert st.st_atime == 41
         assert st.st_mtime == 42.1
         assert st.st_ctime == 43
-        assert repr(st).startswith(self.posix.__name__ + '.stat_result')
+        assert repr(st).startswith('os.stat_result')
 
     def test_stat_lstat(self):
         import stat
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to