From c1df2729ea3e11e9111a359ee82e2735289b14ad Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sat, 12 Oct 2013 01:38:52 +0200 Subject: Issue #19209: fix structseq test --- Lib/test/test_structseq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_structseq.py b/Lib/test/test_structseq.py index a89e955..353d0ea 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) -- cgit v0.12