[pypy-commit] pypy py3.5: fix test

arigo pypy.commits at gmail.com
Fri Dec 2 06:34:06 EST 2016


Author: Armin Rigo <arigo at 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


More information about the pypy-commit mailing list