avocado-framework/avocado

View on GitHub
selftests/.data/exec_test_std/exec_test_1mib.py

Summary

Maintainability
B
4 hrs
Test Coverage
#!/usr/bin/env python3

import sys

if __name__ == "__main__":
    data = b"1" * 1024 * 1024
    sys.stdout.write(data.decode())
    data = b"2" * 1024 * 1024
    sys.stderr.write(data.decode())