[Python-apps-team] Bug#868773: khal FTBFS: AssertionError: assert not OSError(6, 'No such device or address')

Guido Günther agx at sigxcpu.org
Thu Aug 24 16:55:50 UTC 2017


Hi,
On Tue, Jul 18, 2017 at 03:41:33PM +0300, Adrian Bunk wrote:
> Source: khal
> Version: 1:0.9.6-1
> Severity: serious
> 
> https://buildd.debian.org/status/fetch.php?pkg=khal&arch=all&ver=1:0.9.6-1&stamp=1500381224&raw=0
> 
> ...
> =================================== FAILURES ===================================
> ____________________________ test_import_from_stdin ____________________________
> 
> runner = <tests.cli_test.CustomCliRunner object at 0x7faf8d02cf28>
> 
>     def test_import_from_stdin(runner):
>         ics_data = 'This is some really fake icalendar data'
>     
>         with mock.patch('khal.controllers.import_ics') as mocked_import:
>             runner = runner()
>             result = runner.invoke(main_khal, ['import'], input=ics_data)
>     
> >       assert not result.exception
> E       AssertionError: assert not OSError(6, 'No such device or address')
> E        +  where OSError(6, 'No such device or address') = <Result OSError(6, 'No such device or address')>.exception
> 
> tests/cli_test.py:505: AssertionError
> ________________________ test_printics_read_from_stdin _________________________
> 
> runner = <tests.cli_test.CustomCliRunner object at 0x7faf8cf7ce48>
> 
>     def test_printics_read_from_stdin(runner):
>         runner = runner(command='printics')
>         result = runner.invoke(main_khal, ['printics'], input=_get_text('cal_d'))
> >       assert not result.exception
> E       AssertionError: assert not OSError(6, 'No such device or address')
> E        +  where OSError(6, 'No such device or address') = <Result OSError(6, 'No such device or address')>.exception
> 
> tests/cli_test.py:683: AssertionError
> ========== 2 failed, 261 passed, 7 skipped, 3 xfailed in 9.52 seconds ==========
> E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest tests
> dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 3.5 returned exit code 13
> debian/rules:26: recipe for target 'override_dh_auto_test' failed
> make[1]: *** [override_dh_auto_test] Error 25

Any chance this gets fixed? It would be great to have a recent khal in
unstable/testing.
 -- Guido



More information about the Python-apps-team mailing list