From 8b0d2ca88c34788aa3fc9c5df9a441244b5a5fdb Mon Sep 17 00:00:00 2001 From: Bert Palm <bert.palm@ufz.de> Date: Tue, 18 Feb 2020 02:39:42 +0100 Subject: [PATCH] minor chenges tests --- test/test__getsetitem__.py | 2 +- test/test_dios.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test__getsetitem__.py b/test/test__getsetitem__.py index 56a2d7f..a72c9e7 100644 --- a/test/test__getsetitem__.py +++ b/test/test__getsetitem__.py @@ -52,7 +52,7 @@ def test__getitem_single_loc_fail(idxer): a = d1.loc[:, idxer] -@pytest.mark.parametrize('idxer', [-5, 99, 'a', '2', ]) +@pytest.mark.parametrize('idxer', [-5, 99, 'a', '2', None, ]) def test__getitem_single_iloc_fail(idxer): with pytest.raises(KeyError): a = d1.iloc[:, idxer] diff --git a/test/test_dios.py b/test/test_dios.py index 77f884c..9cc71ae 100644 --- a/test/test_dios.py +++ b/test/test_dios.py @@ -138,7 +138,7 @@ def test__op2__(left, right, op): assert res == exp except ZeroDivisionError: - pytest.mark.skip('ZeroDivisionError') + pytest.skip('ZeroDivisionError') @pytest.mark.parametrize('data', _diosmatr(ALL)) -- GitLab