Commits

Benjamin Peterson committed 43e7fa2

enclose path in quotes to handle paths with spaces correctly #7666

Comments (0)

Files changed (1)

lib2to3/tests/test_parser.py

     finally:
         f.close()
     try:
-        return os.system("diff -u %s @" % fn)
+        return os.system("diff -u %r @" % fn)
     finally:
         os.remove("@")