  from nose.tools import assert_equal
  
  
  class TestFindMagicIndex(object):
  
      def test_find_magic_index(self):
          magic_index = MagicIndex()
          assert_equal(magic_index.find_magic_index(None), -1)
          assert_equal(magic_index.find_magic_index([]), -1)
 
</s> remove         assert_equal(magic_index.find_magic_index(None), -1)
        assert_equal(magic_index.find_magic_index([]), -1)
 </s> add         self.assertEqual(magic_index.find_magic_index(None), -1)
        self.assertEqual(magic_index.find_magic_index([]), -1) </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove         assert_equal(magic_index.find_magic_index(array), 2)
 </s> add         self.assertEqual(magic_index.find_magic_index(array), 2) </s> remove class TestSteps(object):
 </s> add class TestSteps(unittest.TestCase): </s> remove class TestPairParentheses(object):
 </s> add class TestPairParentheses(unittest.TestCase):
class TestFindMagicIndex(unittest.TestCase):
  from nose.tools import assert_equal
  
  
class TestFindMagicIndex(unittest.TestCase):
  
      def test_find_magic_index(self):
          magic_index = MagicIndex()
          assert_equal(magic_index.find_magic_index(None), -1)
          assert_equal(magic_index.find_magic_index([]), -1)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/magic_index/test_find_magic_index.py