  from nose.tools import assert_equal, assert_raises
  
  
  class TestBits(object):
  
      def test_new_int(self):
          bits = Bits()
          max_size = 32
          assert_raises(TypeError, bits.new_int, None, max_size)
 
</s> remove         assert_raises(TypeError, bits.new_int, None, max_size)
        assert_raises(TypeError, bits.new_int, [], max_size)
 </s> add         self.assertRaises(TypeError, bits.new_int, None, max_size)
        self.assertRaises(TypeError, bits.new_int, [], max_size) </s> remove from nose.tools import assert_equal, assert_raises
 </s> add import unittest </s> remove     "class TestBits(object):\n",
 </s> add     "class TestBits(unittest.TestCase):\n", </s> remove     "class TestBits(object):\n",
 </s> add     "class TestBits(unittest.TestCase):\n", </s> remove class TestArray(object):
 </s> add class TestArray(unittest.TestCase):
class TestBits(unittest.TestCase):
  from nose.tools import assert_equal, assert_raises
  
  
class TestBits(unittest.TestCase):
  
      def test_new_int(self):
          bits = Bits()
          max_size = 32
          assert_raises(TypeError, bits.new_int, None, max_size)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for sorting_searching/ (#278) 
sorting_searching/new_int/test_new_int.py