示例#1
0
 def test_graphlabel(self):
     # I don't know if this is a plausible example of things that can be
     # passed in, I just know the existing code gets rid of double quotes
     self.assertEqual(graphlabel('somefunc "dir with spaces/file.py":42'),
                      "somefunc 'dir with spaces/file.py':42")
示例#2
0
 def test_graphlabel(self):
     # I don't know if this is a plausible example of things that can be
     # passed in, I just know the existing code gets rid of double quotes
     self.assertEqual(graphlabel('somefunc "dir with spaces/file.py":42'), "somefunc 'dir with spaces/file.py':42")