  
      def test_bit(self):
          number = int('10001110', base=2)
          bit = Bit(number)
          assert_equal(bit.get_bit(index=3), True)
          expected = int('10011110', base=2)
          assert_equal(bit.set_bit(index=4), expected)
          bit = Bit(number)
          expected = int('10000110', base=2)
          assert_equal(bit.clear_bit(index=3), expected)
 
</s> remove         assert_equal(bit.set_bit(index=4), expected)
 </s> add         self.assertEqual(bit.set_bit(index=4), expected) </s> remove         assert_equal(bit.clear_bit(index=3), expected)
 </s> add         self.assertEqual(bit.clear_bit(index=3), expected) </s> remove         assert_equal(bit.clear_bits_msb_to_index(index=3), expected)
 </s> add         self.assertEqual(bit.clear_bits_msb_to_index(index=3), expected) </s> remove class TestBit(object):
 </s> add class TestBit(unittest.TestCase): </s> remove         assert_equal(bit.clear_bits_index_to_lsb(index=3), expected)
 </s> add         self.assertEqual(bit.clear_bits_index_to_lsb(index=3), expected)
        self.assertEqual(bit.get_bit(index=3), True)
  
      def test_bit(self):
          number = int('10001110', base=2)
          bit = Bit(number)
        self.assertEqual(bit.get_bit(index=3), True)
          expected = int('10011110', base=2)
          assert_equal(bit.set_bit(index=4), expected)
          bit = Bit(number)
          expected = int('10000110', base=2)
          assert_equal(bit.clear_bit(index=3), expected)
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for bit_manipulation/ (#279) 
bit_manipulation/bit/test_bit.py