summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/python-pyfakefs-remove-bad-test.patch
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-23 21:55:08 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-05 13:58:02 +0100
commit0b8fc326314a5503e6e13817ffe9f367302a0dd3 (patch)
tree40ce9cbd724d333b2e962f0183e04ffba5f0ddc1 /gnu/packages/patches/python-pyfakefs-remove-bad-test.patch
parent02c2391a62061d74755a64100b96601f2531be8b (diff)
gnu: python-pyfakefs: Update to 5.9.1.
* gnu/packages/check.scm (python-pyfakefs): Update to 5.9.1. [source]: Switch to git-fetch, not GitHub repository provides proper releases and tests. <patches>: Drop it. [arguments] <test-backend>: Use 'custom. <test-flags>: Run all self tests without extra packages. <phases>: Add 'disable-root-tests. [build-system]: Use pyproject. [home-page]: Now pyproject.toml points to GitHub page as the main one, no reference to <http://pyfakefs.org/> in documentation was found. [native-inputs]: Remove python-pytest; add python-setuptools. * gnu/packages/patches/python-pyfakefs-remove-bad-test.patch: Remove file. * gnu/local.mk: Deregister patch. Change-Id: I4427d889019275b304ad021d8e5d0829bcff518a
Diffstat (limited to 'gnu/packages/patches/python-pyfakefs-remove-bad-test.patch')
-rw-r--r--gnu/packages/patches/python-pyfakefs-remove-bad-test.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/gnu/packages/patches/python-pyfakefs-remove-bad-test.patch b/gnu/packages/patches/python-pyfakefs-remove-bad-test.patch
deleted file mode 100644
index a9488bbe43..0000000000
--- a/gnu/packages/patches/python-pyfakefs-remove-bad-test.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-This test incorrectly assumes that the root user is always available.
-However, in the build environment, the root user is not available.
-Note that because the original file distributed in the release on PyPi
-has lines ending in CRLF, those are retained in the diff below.
-
---- a/pyfakefs/tests/fake_filesystem_test.py 1969-12-31 16:00:00.000000000 -0800
-+++ b/pyfakefs/tests/fake_filesystem_test.py 1969-12-31 16:00:00.000000000 -0800
-@@ -1021,15 +1021,6 @@
- self.assertEqual(self.path.expanduser('~'),
- self.os.environ['HOME'].replace('/', '!'))
-
-- @unittest.skipIf(TestCase.is_windows or TestCase.is_cygwin,
-- 'only tested on unix systems')
-- def test_expand_root(self):
-- if sys.platform == 'darwin':
-- roothome = '!var!root'
-- else:
-- roothome = '!root'
-- self.assertEqual(self.path.expanduser('~root'), roothome)
--
- def test_getsize_path_nonexistent(self):
- file_path = 'foo!bar!baz'
- self.assertRaises(os.error, self.path.getsize, file_path)