Regression

test.test_fuzzy_segmenting.test_segment (from pytest)

Failing for the past 1 build (Since #511 )
Took 1 ms.

Error Message

FileNotFoundError: [Errno 2] No such file or directory: '/mnt/data/jenkins/workspace/DARIAH-Topics/grenzboten_sample/Beck_1844_Tagebuch_56.txt'

Stacktrace

def test_segment():
        """segment convenience wrapper"""
        path = project_path.joinpath('grenzboten_sample', 'Beck_1844_Tagebuch_56.txt')
>       text = path.read_text(encoding='utf-8')

test/test_fuzzy_segmenting.py:102: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.5/pathlib.py:1164: in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
/usr/lib/python3.5/pathlib.py:1151: in open
    opener=self._opener)
/usr/lib/python3.5/pathlib.py:1005: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/mnt/data/jenkins/workspace/DARIAH-Topics/grenzboten_sample/Beck_1844_Tagebuch_56.txt')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/mnt/data/jenkins/workspace/DARIAH-Topics/grenzboten_sample/Beck_1844_Tagebuch_56.txt'

/usr/lib/python3.5/pathlib.py:371: FileNotFoundError