testlib: Get rid of two_normalisers

Authored by nomeata.

Description

testlib: Get rid of two_normalisers

And make normalise_fun polyvariadic. After all, this is untyped code, so
lets make use of it :-)

Details

Committed
nomeataOct 28 2014, 5:21 AM
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.
hvr awarded a token.Oct 28 2014, 5:51 AM
hvr added a subscriber: hvr.

(don't forget about Python2/3 compatibility)

hvr added inline comments.Oct 28 2014, 5:54 AM
/testsuite/driver/testlib.py
528

you need two iterators if you make a into an iterator, as the following code iterates a twice

(don't forget about Python2/3 compatibility)

How do I do that? Can you maybe extend .travis.yaml to test it with python3 as well?

hvr added a comment.Oct 28 2014, 6:42 AM

I think you need to call the testsuite and set the make var PYTHON as in

make PYTHON=python3 WAY=normal TESTS=...

But I didn't run the testsuite with Python3 myself yet... so this is mostly guesswork

Commit No Longer Exists

This commit no longer exists in the repository.