Closed mfkaptan closed 9 years ago
Looks good! Two small comments:
$(PYTHON) $^ > $@ 2>&1
? I guess &>
is a bash-ism, but we still want the test output to include anything printed to stderr.bin()
in builtinsTest.py
. Either move your tests there, or move the test from there to your new test file.Thanks! Same comments as #6 apply here: more edge case tests will be needed, but this is a good start.
Default
bin()
implementation in python adds '0b' prefix when printing. Ninia should do it as well.