  from nose.tools import assert_equal
  
  
  class TestBits(object):
  
      def test_print_binary(self):
          bit = Bits()
          assert_equal(bit.print_binary(None), 'ERROR')
          assert_equal(bit.print_binary(0), 'ERROR')
 
</s> remove         assert_equal(bit.print_binary(None), 'ERROR')
        assert_equal(bit.print_binary(0), 'ERROR')
        assert_equal(bit.print_binary(1), 'ERROR')
 </s> add         self.assertEqual(bit.print_binary(None), 'ERROR')
        self.assertEqual(bit.print_binary(0), 'ERROR')
        self.assertEqual(bit.print_binary(1), 'ERROR') </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 from nose.tools import assert_equal
 </s> add import unittest </s> remove         assert_equal(bit.print_binary(num), expected)
 </s> add         self.assertEqual(bit.print_binary(num), expected)
class TestBits(unittest.TestCase):
  from nose.tools import assert_equal
  
  
class TestBits(unittest.TestCase):
  
      def test_print_binary(self):
          bit = Bits()
          assert_equal(bit.print_binary(None), 'ERROR')
          assert_equal(bit.print_binary(0), 'ERROR')
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for bit_manipulation/ (#279) 
bit_manipulation/print_binary/test_print_binary.py