mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #19209: fix structseq test
This commit is contained in:
parent
2582762b1b
commit
c1df2729ea
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue