  from nose.tools import assert_equal
  
  
  class TestBit(object):
  
      def test_insert_m_into_n(self):
          n = int('0000010000111101', base=2)
          m = int('0000000000010011', base=2)
          expected = int('0000010001001101', base=2)
 
</s> remove         assert_equal(bits.insert_m_into_n(m, n, i=2, j=6), expected)
 </s> add         self.assertEqual(bits.insert_m_into_n(m, n, i=2, j=6), expected) </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove class TestBit(object):
 </s> add class TestBit(unittest.TestCase): </s> remove class TestBits(object):
 </s> add class TestBits(unittest.TestCase): </s> remove from nose.tools import assert_equal
 </s> add import unittest
class TestBit(unittest.TestCase):
  from nose.tools import assert_equal
  
  
class TestBit(unittest.TestCase):
  
      def test_insert_m_into_n(self):
          n = int('0000010000111101', base=2)
          m = int('0000000000010011', base=2)
          expected = int('0000010001001101', base=2)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for bit_manipulation/ (#279) 
bit_manipulation/insert_m_into_n/test_insert_m_into_n.py