Approve context
This commit is contained in:
@@ -159,11 +159,6 @@ if __name__ == '__main__':
|
||||
stdout, stderr, code = self.run_script('read', special_chars)
|
||||
self.assertEqual(code, 0, f"Script failed with stderr: {stderr}")
|
||||
expected = f'Read: {special_chars}'
|
||||
# Print actual bytes for debugging
|
||||
if stdout != expected:
|
||||
print("\nDebug output:")
|
||||
print("Expected bytes:", expected.encode('utf-8'))
|
||||
print("Actual bytes:", stdout.encode('utf-8'))
|
||||
self.assertEqual(stdout, expected)
|
||||
|
||||
def test_empty_input(self):
|
||||
|
||||
Reference in New Issue
Block a user