jmsv / ety-python

A Python module to discover the etymology of words
http://ety-python.rtfd.io
MIT License
144 stars 18 forks source link

test_origins_recursion can fail #21

Closed jmsv closed 6 years ago

jmsv commented 6 years ago
$ python tests.py
..F.
======================================================================
FAIL: test_origins_recursion (__main__.TestEty)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests.py", line 13, in test_origins_recursion
    self.assertGreater(len(o), 0)
AssertionError: 0 not greater than 0

Since ety.random_word() is used for this test, it normally passes but can (and did) fail