diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-11 23:38:52 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-11 23:38:52 (GMT) |
commit | c1df2729ea3e11e9111a359ee82e2735289b14ad (patch) | |
tree | c4aa7a6ba710adacf27215f8768029d5c0bb9b22 /Lib/test/test_structseq.py | |
parent | 2582762b1b76a9bbe11f8ba5fc2a350157526050 (diff) | |
download | cpython-c1df2729ea3e11e9111a359ee82e2735289b14ad.zip cpython-c1df2729ea3e11e9111a359ee82e2735289b14ad.tar.gz cpython-c1df2729ea3e11e9111a359ee82e2735289b14ad.tar.bz2 |
Issue #19209: fix structseq test
Diffstat (limited to 'Lib/test/test_structseq.py')
-rw-r--r-- | 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 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) |