Guest User

Untitled

a guest
Jan 16th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/usr/bin/python
  2. """
  3. Run the script like: $ pytest -s test_stdout_stderr.py
  4. -s shortcut for --capture=no
  5. """
  6.  
  7. import sys
  8.  
  9. def test_hello():
  10. print("hello testing")
  11. print("stderr during testing", file=sys.stderr)
  12. assert True
Add Comment
Please, Sign In to add comment