mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
quickfix for conv() in test_calendar
This commit is contained in:
1 file changed
+3
-1
@@ -787,7 +787,9 @@ class LeapdaysTestCase(unittest.TestCase):
|
||||
|
||||
|
||||
def conv(s):
|
||||
return s.replace('\n', os.linesep).encode()
|
||||
# XXX RUSTPYTHON TODO: TextIOWrapper newline translation
|
||||
return s.encode()
|
||||
# return s.replace('\n', os.linesep).encode()
|
||||
|
||||
class CommandLineTestCase(unittest.TestCase):
|
||||
def run_ok(self, *args):
|
||||
|
||||
Reference in new issue
Block a user