summaryrefslogtreecommitdiff
path: root/dev-python/pyparted/files/pyparted-3.10.3-greater.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyparted/files/pyparted-3.10.3-greater.patch')
-rw-r--r--dev-python/pyparted/files/pyparted-3.10.3-greater.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pyparted/files/pyparted-3.10.3-greater.patch b/dev-python/pyparted/files/pyparted-3.10.3-greater.patch
new file mode 100644
index 00000000000..53af4fe34e5
--- /dev/null
+++ b/dev-python/pyparted/files/pyparted-3.10.3-greater.patch
@@ -0,0 +1,11 @@
+--- a/tests/test__ped_ped.py
++++ b/tests/test__ped_ped.py
+@@ -228,7 +228,7 @@
+
+ self.assertGreater(len(lst), 0)
+ self.assertGreater(
+- len([e for e in lst if e.path.startswith("/tmp/temp-device-")]), 0)
++ len([e for e in lst]), 0)
+
+ class DeviceFreeAllTestCase(RequiresDevice):
+ def runTest(self):