Skip to content

Commit

Permalink
fix nose test deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiliç Ilkan Fabrice committed Feb 5, 2024
1 parent ad6dc47 commit c5a78e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_cppcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class TestCppcore:

"""Test cppcore"""

def setup(self): # pylint: disable=R0201
def setup_method(self): # pylint: disable=R0201
"""Setup"""
import efel
efel.cppcore.Initialize(efel.getDependencyFileLocation(), "log")
Expand Down Expand Up @@ -130,13 +130,13 @@ def test_getFeatureDouble_failure(self): # pylint: disable=R0201

@pytest.mark.xfail(raises=TypeError)
def test_getFeatureDouble_wrong_type(self): # pylint: disable=R0201
"""cppcore: Teting getFeatureDouble with wrong type"""
"""cppcore: Testing getFeatureDouble with wrong type"""
import efel
efel.cppcore.getFeatureDouble("AP_fall_indices", list())

@pytest.mark.xfail(raises=TypeError)
def test_getFeatureInt_wrong_type(self): # pylint: disable=R0201
"""cppcore: Teting getFeatureInt with wrong type"""
"""cppcore: Testing getFeatureInt with wrong type"""
import efel
efel.cppcore.getFeatureInt("AP_amplitude", list())

Expand Down

0 comments on commit c5a78e7

Please sign in to comment.