-
-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
Milestone
Description
Sorry if i haved missed it somewhere in the documentation, but how do you run the dill tests in a convenient way? I am used to projects where nosetests is used but trying with dill yields plenty of errors.
Here is what I did:
git clone https://github.com/uqfoundation/dill
cd dill
python setup.py build
nosetests
While I am at it, nosetests --with-doctest shows some failing doctests.
Would you be interested in contributions that make the tests more nosetests friendly?
I saw that there were some test files in dill/tests that you could run directly with python but it is unclear whether a test failure is expected or not. For example, here is the output I get with master for tests/test_objects.py:
❯ python tests/test_objects.py
fails: ListIteratorType <type 'listiterator'>
fails: TupleIteratorType <type 'tupleiterator'>
fails: XRangeIteratorType <type 'rangeiterator'>
fails: CycleType <type 'itertools.cycle'>
fails: PermutationsType <type 'itertools.permutations'>
fails: CombinationsType <type 'itertools.combinations'>
fails: RepeatType <type 'itertools.repeat'>
fails: CompressType <type 'itertools.compress'>