From: Christian Heimes Date: Fri, 11 Oct 2013 23:38:52 +0000 (+0200) Subject: Issue #19209: fix structseq test X-Git-Tag: v3.4.0a4~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1df2729ea3e11e9111a359ee82e2735289b14ad;p=thirdparty%2FPython%2Fcpython.git Issue #19209: fix structseq test --- diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py index a89e9556c14e..353d0eadcc5b 100644 --- a/Lib/test/test_structseq.py +++ b/Lib/test/test_structseq.py @@ -38,7 +38,7 @@ class StructSeqTest(unittest.TestCase): # 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")) self.assertIn("st_mode=", rep) self.assertIn("st_ino=", rep) self.assertIn("st_dev=", rep)