  from nose.tools import assert_equal
  
  
  class TestBit(object):
  
      def test_bit(self):
          number = int('10001110', base=2)
          bit = Bit(number)
          assert_equal(bit.get_bit(index=3), True)
 
</s> remove         assert_equal(bit.get_bit(index=3), True)
 </s> add         self.assertEqual(bit.get_bit(index=3), True) </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove         assert_equal(bit.set_bit(index=4), expected)
 </s> add         self.assertEqual(bit.set_bit(index=4), expected) </s> remove class TestBit(object):
 </s> add class TestBit(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_bit(self):
          number = int('10001110', base=2)
          bit = Bit(number)
          assert_equal(bit.get_bit(index=3), True)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for bit_manipulation/ (#279) 
bit_manipulation/bit/test_bit.py