This replaces the "python test/" call with "./test/__main__py". It
may seem like a pointless change, but the former will always use
whatever "python" points to, and the latter will use the contents of
the shebang in "__main__.py". Distributions can fix the shebang on
that one file to ensure that the test suite is run with the proper
version of python.
8. Fix floating point comparisons in the doctest output.
-9. Use shebang in the standalone test executable.
-
10. Sometimes our Lyapunov-like tests over the ice cream cone are
failing badly. For example,
.PHONY: check
check:
- PYTHONPATH="." python test/
+ PYTHONPATH="." test/__main__.py
.PHONY: lint
lint:
+#!/usr/bin/env python
"""
An implementation of __main__() that allows us to "run this module."
"""