  from nose.tools import assert_equal
  
  
  class TestShortestPath(object):
  
      def test_shortest_path(self):
          graph = Graph()
          graph.add_edge('a', 'b', weight=5)
          graph.add_edge('a', 'c', weight=3)
 
</s> remove     "class TestShortestPath(object):\n",
 </s> add     "class TestShortestPath(unittest.TestCase):\n", </s> remove     "class TestShortestPath(object):\n",
 </s> add     "class TestShortestPath(unittest.TestCase):\n", </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove from nose.tools import assert_equal
 </s> add import unittest </s> remove class TestShortestPath(object):
 </s> add class TestShortestPath(unittest.TestCase):
class TestShortestPath(unittest.TestCase):
  from nose.tools import assert_equal
  
  
class TestShortestPath(unittest.TestCase):
  
      def test_shortest_path(self):
          graph = Graph()
          graph.add_edge('a', 'b', weight=5)
          graph.add_edge('a', 'c', weight=3)
keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277) 
graphs_trees/graph_shortest_path/test_shortest_path.py