  from nose.tools import assert_equal
  
  
  class TestBits(object):
  
      def test_bits_to_flip(self):
          bits = Bits()
          a = int('11101', base=2)
          b = int('01111', base=2)
 
</s> remove         assert_equal(bits.bits_to_flip(a, b), expected)
 </s> add         self.assertEqual(bits.bits_to_flip(a, b), expected) </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove class TestBits(object):
 </s> add class TestBits(unittest.TestCase): </s> remove class TestBit(object):
 </s> add class TestBit(unittest.TestCase): </s> remove from nose.tools import assert_equal
 </s> add import unittest
class TestBits(unittest.TestCase):
  from nose.tools import assert_equal
  
  
class TestBits(unittest.TestCase):
  
      def test_bits_to_flip(self):
          bits = Bits()
          a = int('11101', base=2)
          b = int('01111', base=2)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for bit_manipulation/ (#279) 
bit_manipulation/bits_to_flip/test_bits_to_flip.py