'In issue 7750, it was found that if the filename has a sequence that
resolves to an escape character in a Python string (such as     ), it
will be treated as the escaped character.'

def test_filename_correct(self):

    test_fn = '.\\test_mod.py'
    code = 'print("testing    pdb")'
    with open(test_fn, 'w') as f:
        f.write(code)
    self.addCleanup(os.remove, test_fn)
    cmd = [sys.executable, '-m', 'pdb', test_fn]
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDOUT)
    (stdout, stderr) = proc.communicate('quit\n')
    self.assertIn(code, stdout, 'pdb    munged    the    filename')
