Let's perform the steps that follow:
- Import the relevant nose.tools:
from nose.tools import eq_
- Then, set the TestSuite class. Here, the methods of the class are tested by the eq_ function:
class TestSuite:
def test_mult(self):
eq_(2*2,4)
def ignored(self):
eq_(2*2,3)