Skip to content

Commit 00d8473

Browse files
committed
Temporarily disable failing test
- the specific Python version is currently only used in the Debian container - see #1214
1 parent 34d56dc commit 00d8473

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyfakefs/tests/fake_tempfile_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import os
2020
import stat
21+
import sys
2122
import tempfile
2223
import unittest
2324

@@ -88,6 +89,10 @@ def test_mkdtemp(self):
8889
self.assertTrue(self.fs.exists(dirname))
8990
self.assertEqual(self.fs.get_object(dirname).st_mode, stat.S_IFDIR | 0o700)
9091

92+
@unittest.skipIf(
93+
sys.version_info[:3] == (3, 13, 5),
94+
"Not working on Debian with this version, see #1214",
95+
)
9196
def test_temporary_directory(self):
9297
with tempfile.TemporaryDirectory() as tmpdir:
9398
self.assertTrue(tmpdir)

0 commit comments

Comments
 (0)