summaryrefslogtreecommitdiffstats
path: root/QMTest
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-05 22:28:43 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-05 22:28:43 (GMT)
commit3a8855a675cf57b50be3ca8deb1955f531cd7983 (patch)
tree7340f7d18def0ceb9540093a44176fda8a738ba2 /QMTest
parent1e58c30fd679aca066f330df7d06aa8a4b5e4a1a (diff)
parentd7cc098cde8306ddb8ec017ce3bbb24c7aa64e8d (diff)
downloadSCons-3a8855a675cf57b50be3ca8deb1955f531cd7983.zip
SCons-3a8855a675cf57b50be3ca8deb1955f531cd7983.tar.gz
SCons-3a8855a675cf57b50be3ca8deb1955f531cd7983.tar.bz2
merge
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestCmd.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py
index 2c0c0d3..07a3905 100644
--- a/QMTest/TestCmd.py
+++ b/QMTest/TestCmd.py
@@ -737,16 +737,6 @@ class Popen(subprocess.Popen):
setattr(self, which, None)
- def to_bytes (s):
- if isinstance (s, bytes) or bytes is str:
- return s
- return bytes (s, 'utf-8')
-
- def to_str (s):
- if bytes is str or is_String(s):
- return s
- return str (s, 'utf-8')
-
if sys.platform == 'win32':# and subprocess.mswindows:
def send(self, input):
input = to_bytes(input)