File: python3.14-tests.patch

package info (click to toggle)
spyder 6.0.5%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,784 kB
  • sloc: python: 121,632; sh: 420; xml: 142; javascript: 131; cpp: 67; makefile: 20; ansic: 19; erlang: 15; lisp: 11; java: 5
file content (25 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Colin Watson <cjwatson@debian.org>
Date: Wed, 17 Dec 2025 18:31:35 +0000
Subject: Bump some test parameters for Python 3.14

Last-Update: 2025-12-17
---
 .../widgets/objectexplorer/tests/test_objectexplorer.py               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py b/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py
index 674f384..c7f64dc 100644
--- a/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py
+++ b/spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py
@@ -111,9 +111,9 @@ def test_objectexplorer(objectexplorer):
     ('kjkj kj k j j kj k jkj', [71, 81]),
     ([1, 3, 4, 'kjkj', None], [45, 48]),
     ({1, 2, 1, 3, None, 'A', 'B', 'C', True, False}, [54, 57]),
-    (1.2233, [57, 59]),
+    (1.2233, [57, 60]),
     (np.random.rand(10, 10), [162, 167]),
-    (datetime.date(1945, 5, 8), [43, 49])
+    (datetime.date(1945, 5, 8), [43, 50])
 ])
 def test_objectexplorer_collection_types(objectexplorer, params):
     """Test to validate proper handling of collection data types."""