goldentests 1.4.1

A golden file testing library where tests can be configured within the same test file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
from __future__ import print_function
import sys

print("error!", file=sys.stderr)
sys.exit(3)

# args: -c 'print("test"); exec(open("examples/all_keywords.py").read())'
# expected exit status: 3
# expected stdout: test

# expected stderr: error!