/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/tests/test_dotgraph.py is in bzrtools 2.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | from unittest import TestCase
from bzrlib.plugins.bzrtools import dotgraph
class TestNode(TestCase):
def test_define_escapes_backslash(self):
node = dotgraph.Node('AB', message=r'Slash\me')
self.assertEqual(r'AB[shape="box" tooltip="Slash\\me" href="#"]',
node.define())
|