  from nose.tools import assert_equal
  
  
  class TestPermutation(object):
  
      def test_permutation(self, func):
          assert_equal(func(None, 'foo'), False)
          assert_equal(func('', 'foo'), False)
          assert_equal(func('Nib', 'bin'), False)
 
</s> remove         assert_equal(func(None, 'foo'), False)
        assert_equal(func('', 'foo'), False)
        assert_equal(func('Nib', 'bin'), False)
        assert_equal(func('act', 'cat'), True)
        assert_equal(func('a ct', 'ca t'), True)
        assert_equal(func('dog', 'doggo'), False)
 </s> add         self.assertEqual(func(None, 'foo'), False)
        self.assertEqual(func('', 'foo'), False)
        self.assertEqual(func('Nib', 'bin'), False)
        self.assertEqual(func('act', 'cat'), True)
        self.assertEqual(func('a ct', 'ca t'), True)
        self.assertEqual(func('dog', 'doggo'), False) </s> remove class TestRotation(object):
 </s> add class TestRotation(unittest.TestCase): </s> remove class TestUniqueChars(object):
 </s> add class TestUniqueChars(unittest.TestCase): </s> remove         assert_equal(rotation.is_rotation('o', 'oo'), False)
        assert_equal(rotation.is_rotation(None, 'foo'), False)
        assert_equal(rotation.is_rotation('', 'foo'), False)
        assert_equal(rotation.is_rotation('', ''), True)
        assert_equal(rotation.is_rotation('foobarbaz', 'barbazfoo'), True)
 </s> add         self.assertEqual(rotation.is_rotation('o', 'oo'), False)
        self.assertEqual(rotation.is_rotation(None, 'foo'), False)
        self.assertEqual(rotation.is_rotation('', 'foo'), False)
        self.assertEqual(rotation.is_rotation('', ''), True)
        self.assertEqual(rotation.is_rotation('foobarbaz', 'barbazfoo'), True) </s> remove     "class TestPermutation(object):\n",
 </s> add     "class TestPermutation(unittest.TestCase):\n",
class TestPermutation(unittest.TestCase):
  from nose.tools import assert_equal
  
  
class TestPermutation(unittest.TestCase):
  
      def test_permutation(self, func):
          assert_equal(func(None, 'foo'), False)
          assert_equal(func('', 'foo'), False)
          assert_equal(func('Nib', 'bin'), False)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for arrays_strings/ (#274) 
arrays_strings/permutation/test_permutation_solution.py