rsennrich / subword-nmt

Unsupervised Word Segmentation for Neural Machine Translation and Text Generation
MIT License
2.18k stars 464 forks source link

Test case fails on fresh clone of repo. #36

Closed se4u closed 6 years ago

se4u commented 6 years ago

I am running into a test case failure on a fresh clone of the repo. It's only a method signature error but I just wanted to confirm whether the test case failure to safe to disregard ?

Steps to reproduce.

$ git clone https://github.com/rsennrich/subword-nmt.git
$ cd subword-nmt
$ python test/test_glossaries.py 
======================================================================
ERROR: test_multiple_glossaries (__main__.TestBPESegmentMethod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_glossaries.py", line 116, in test_multiple_glossaries
    self._run_test_case(test_case)
  File "/home/prastog3/.local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "test/test_glossaries.py", line 108, in _run_test_case
    out = self.bpe.segment(orig)
  File "test/test_glossaries.py", line 108, in _run_test_case
    out = self.bpe.segment(orig)
  File "/home/prastog3/anaconda/lib/python2.7/bdb.py", line 49, in trace_dispatch
    return self.dispatch_line(frame)
  File "/home/prastog3/anaconda/lib/python2.7/bdb.py", line 68, in dispatch_line
    if self.quitting: raise BdbQuit
BdbQuit

----------------------------------------------------------------------
Ran 9 tests in 43.061s

FAILED (errors=1)