small_ctor 0.1.2

A minimal, dependency free version of the ctor crate
Documentation
1
2
3
4
5
6
import subprocess
sp = subprocess.Popen(['cargo', 'run', '--example', 'hello'], stdout=subprocess.PIPE)
stdout = sp.communicate()[0].decode("utf-8")
lines = stdout.splitlines()
assert lines == ["life before main", "main"], "got %s" % lines
print("Test Passed")