Debian Codegraph @

debian/patches/tests/test_fsync-eatmydata

raw symbols SCIP
1 Fromscip-debian debian pypy3 7.3.23+dfsg-1 pypy3/patches/`tests/test_fsync-eatmydata`#From.: Stefano Rivera <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian pypy3 7.3.23+dfsg-1 pypy3/patches/`tests/test_fsync-eatmydata`#Date.: Sat, 7 Oct 2017 09:38:57 +0200
3 Subjectscip-debian debian pypy3 7.3.23+dfsg-1 pypy3/patches/`tests/test_fsync-eatmydata`#Subject.: Tests: Skip fsync tests when building with eatmydata
4
5 Forwarded: not-needed
6 Last-Update: 2012-02-06
7 ---
8 lib-python/3/test/test_os.py | 2 ++
9 1 file changed, 2 insertions(+)
10
11 diff --git a/lib-python/3/test/test_os.pyscip-debian debian pypy3 7.3.23+dfsg-1 pypy3/upstream/`lib-python/3/test/test_os.py`: b/lib-python/3/test/test_os.pyscip-debian debian pypy3 7.3.23+dfsg-1 pypy3/upstream/`lib-python/3/test/test_os.py`:
12 index e45b7d4..8c48895 100644
13 --- a/lib-python/3/test/test_os.py
14 +++ b/lib-python/3/test/test_os.py
15 @@ -2236,6 +2236,8 @@ class TestInvalidFD(unittest.TestCase):
16 except OSError as e:
17 self.assertEqual(e.errno, errno.EBADF)
18 else:
19 + if f.__name__.endswith('sync'):
20 + return # eatmydata won't raise an OSError
21 self.fail("%r didn't raise an OSError with a bad file descriptor"
22 % f)
23