Skip to content

Commit

Permalink
Fix test_stat if the _stat extension is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Aug 29, 2023
1 parent ceec41a commit 779532b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def test_file_attribute_constants(self):
self.assertEqual(value, modvalue, key)


@unittest.skipIf(c_stat is None, 'need _stat extension')
class TestFilemodeCStat(TestFilemode, unittest.TestCase):
statmod = c_stat

Expand Down

0 comments on commit 779532b

Please sign in to comment.