Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- """
- Run the script like: $ pytest -s test_stdout_stderr.py
- -s shortcut for --capture=no
- """
- import sys
- def test_hello():
- print("hello testing")
- print("stderr during testing", file=sys.stderr)
- assert True
Add Comment
Please, Sign In to add comment