Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r44110:722e6f60cfc1
Date: 2011-05-12 15:45 -0400
http://bitbucket.org/pypy/pypy/changeset/722e6f60cfc1/
Log: Simplify, the windows quoting works on linux as well.
diff --git a/pypy/module/_multibytecodec/test/test_translation.py
b/pypy/module/_multibytecodec/test/test_translation.py
--- a/pypy/module/_multibytecodec/test/test_translation.py
+++ b/pypy/module/_multibytecodec/test/test_translation.py
@@ -1,5 +1,3 @@
-import sys
-
from pypy.module._multibytecodec import c_codecs
from pypy.translator.c.test import test_standalone
@@ -17,9 +15,6 @@
return 0
#
t, cbuilder = self.compile(entry_point)
- if sys.platform == "win32":
- cmd = 'hz "~{abc}"'
- else:
- cmd = 'hz \~\{abc\}'
+ cmd = 'hz "~{abc}"'
data = cbuilder.cmdexec(cmd)
assert data == '~{abc}~}\n'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit