Commit bd3dffb
committed
Fix difflib.context_diff for Python 3.14 compatibility
Python 3.14's difflib.context_diff expects sequences of strings
(lists of lines), not strings directly.
Split strings into lines using splitlines(keepends=True) before
passing to context_diff.
Fixes TypeError in test_utils.assert_equal() on Python 3.14.1 parent e40c3fa commit bd3dffb
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments