On 12 Oct 2013 09:42, "christian.heimes" <python-checkins at python.org> wrote: > > http://hg.python.org/cpython/rev/89e405e6a7a9 > changeset: 86218:89e405e6a7a9 > parent: 86216:29c4a6a11e76 > user: Christian Heimes <christian at cheimes.de> > date: Sat Oct 12 01:38:52 2013 +0200 > summary: > Issue #19209: fix structseq test > > files: > Lib/test/test_structseq.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py > --- a/Lib/test/test_structseq.py > +++ b/Lib/test/test_structseq.py > @@ -38,7 +38,7 @@ > # os.stat() gives a complicated struct sequence. > st = os.stat(__file__) > rep = repr(st) > - self.assertTrue(rep.startswith(os.name + ".stat_result")) > + self.assertTrue(rep.startswith("os.stat_result")) If stat results can be pickled, this suggests a possible issue with unpickling pickles generated with older versions of Python. Cheers, Nick. > self.assertIn("st_mode=", rep) > self.assertIn("st_ino=", rep) > self.assertIn("st_dev=", rep) > > -- > Repository URL: http://hg.python.org/cpython > > _______________________________________________ > Python-checkins mailing list > Python-checkins at python.org > https://mail.python.org/mailman/listinfo/python-checkins > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131012/1ee1aa67/attachment-0001.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4