summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_structseq.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-10-11 23:38:52 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-10-11 23:38:52 (GMT)
commitc1df2729ea3e11e9111a359ee82e2735289b14ad (patch)
treec4aa7a6ba710adacf27215f8768029d5c0bb9b22 /Lib/test/test_structseq.py
parent2582762b1b76a9bbe11f8ba5fc2a350157526050 (diff)
downloadcpython-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.py2
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)