  class TestSolution(object):
  
      def test_find_busiest_period(self):
          solution = Solution()
          assert_raises(TypeError, solution.find_busiest_period, None)
          assert_equal(solution.find_busiest_period([]), None)
          data = [
              Data(3, 2, EventType.EXIT),
              Data(1, 2, EventType.ENTER),
              Data(3, 1, EventType.ENTER),
              Data(7, 3, EventType.ENTER),
 
</s> remove     "        assert_raises(TypeError, solution.find_busiest_period, None)\n",
    "        assert_equal(solution.find_busiest_period([]), None)\n",
 </s> add     "        self.assertRaises(TypeError, solution.find_busiest_period, None)\n",
    "        self.assertEqual(solution.find_busiest_period([]), None)\n", </s> remove     "        assert_raises(TypeError, solution.find_busiest_period, None)\n",
    "        assert_equal(solution.find_busiest_period([]), None)\n",
 </s> add     "        self.assertRaises(TypeError, solution.find_busiest_period, None)\n",
    "        self.assertEqual(solution.find_busiest_period([]), None)\n", </s> remove         assert_equal(solution.find_busiest_period(data), Period(7, 8))
 </s> add         self.assertEqual(solution.find_busiest_period(data), Period(7, 8)) </s> remove class TestSolution(object):
 </s> add class TestSolution(unittest.TestCase): </s> remove         assert_raises(TypeError, solution.island_perimeter, None)
 </s> add         self.assertRaises(TypeError, solution.island_perimeter, None)
        self.assertRaises(TypeError, solution.find_busiest_period, None)
        self.assertEqual(solution.find_busiest_period([]), None)
  class TestSolution(object):
  
      def test_find_busiest_period(self):
          solution = Solution()
        self.assertRaises(TypeError, solution.find_busiest_period, None)
        self.assertEqual(solution.find_busiest_period([]), None)
        self.assertRaises(TypeError, solution.find_busiest_period, None)
        self.assertEqual(solution.find_busiest_period([]), None)
          data = [
              Data(3, 2, EventType.EXIT),
              Data(1, 2, EventType.ENTER),
              Data(3, 1, EventType.ENTER),
              Data(7, 3, EventType.ENTER),
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282) 
online_judges/busiest_period/test_find_busiest_period.py