mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Merge pull request #1807 from youknowone/str-expandtabs
Fix str.expandtab() for newlines
This commit is contained in:
2 files changed
+24
-13
No files matched your search
@@ -327,8 +327,6 @@ class BaseTest:
|
||||
self.checkequal('HELLO', 'HELLO', 'upper')
|
||||
self.checkraises(TypeError, 'hello', 'upper', 42)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_expandtabs(self):
|
||||
self.checkequal('abc\rab def\ng hi', 'abc\rab\tdef\ng\thi',
|
||||
'expandtabs')
|
||||
|
||||
Reference in new issue
Block a user