diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch b/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch index e8d297c721..f4efd1ecff 100644 --- a/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch +++ b/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From d9d916d5ea946c945323679d1709de1b87029b96 Mon Sep 17 00:00:00 2001 | 1 | From bc5c70dc2a2fcfe51481de0ad800baa849592222 Mon Sep 17 00:00:00 2001 |
| 2 | From: Trevor Gamblin <tgamblin@baylibre.com> | 2 | From: Trevor Gamblin <tgamblin@baylibre.com> |
| 3 | Date: Tue, 13 Aug 2024 11:07:05 -0400 | 3 | Date: Tue, 13 Aug 2024 11:07:05 -0400 |
| 4 | Subject: [PATCH] test_readline: skip limited history test | 4 | Subject: [PATCH] test_readline: skip limited history test |
| @@ -16,11 +16,11 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | |||
| 16 | Lib/test/test_readline.py | 2 ++ | 16 | Lib/test/test_readline.py | 2 ++ |
| 17 | 1 file changed, 2 insertions(+) | 17 | 1 file changed, 2 insertions(+) |
| 18 | 18 | ||
| 19 | Index: Python-3.12.6/Lib/test/test_readline.py | 19 | diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py |
| 20 | =================================================================== | 20 | index fab124a..291dd48 100644 |
| 21 | --- Python-3.12.6.orig/Lib/test/test_readline.py | 21 | --- a/Lib/test/test_readline.py |
| 22 | +++ Python-3.12.6/Lib/test/test_readline.py | 22 | +++ b/Lib/test/test_readline.py |
| 23 | @@ -133,6 +133,7 @@ class TestHistoryManipulation (unittest. | 23 | @@ -133,6 +133,7 @@ class TestHistoryManipulation (unittest.TestCase): |
| 24 | self.assertEqual(readline.get_history_item(1), "entrée 1") | 24 | self.assertEqual(readline.get_history_item(1), "entrée 1") |
| 25 | self.assertEqual(readline.get_history_item(2), "entrée 22") | 25 | self.assertEqual(readline.get_history_item(2), "entrée 22") |
| 26 | 26 | ||
| @@ -28,7 +28,7 @@ Index: Python-3.12.6/Lib/test/test_readline.py | |||
| 28 | def test_write_read_limited_history(self): | 28 | def test_write_read_limited_history(self): |
| 29 | previous_length = readline.get_history_length() | 29 | previous_length = readline.get_history_length() |
| 30 | self.addCleanup(readline.set_history_length, previous_length) | 30 | self.addCleanup(readline.set_history_length, previous_length) |
| 31 | @@ -371,6 +372,7 @@ readline.write_history_file(history_file | 31 | @@ -371,6 +372,7 @@ readline.write_history_file(history_file) |
| 32 | self.assertIn(b"done", output) | 32 | self.assertIn(b"done", output) |
| 33 | 33 | ||
| 34 | 34 | ||
