diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-26 19:35:19 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-26 19:35:19 (GMT) |
commit | cd9c89842a278f284728a966209cf22a8057e5ce (patch) | |
tree | ea2086b17377c893645ed321020e8ad5e34e663b /src | |
parent | e4d4c47f90da6b5c6604da8730f302f1acdd9d96 (diff) | |
download | SCons-cd9c89842a278f284728a966209cf22a8057e5ce.zip SCons-cd9c89842a278f284728a966209cf22a8057e5ce.tar.gz SCons-cd9c89842a278f284728a966209cf22a8057e5ce.tar.bz2 |
fix mocked action get_contents() to return bytearray()
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/CacheDirTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/CacheDirTests.py b/src/engine/SCons/CacheDirTests.py index 8a52928..494db98 100644 --- a/src/engine/SCons/CacheDirTests.py +++ b/src/engine/SCons/CacheDirTests.py @@ -44,7 +44,7 @@ class Action(object): def genstring(self, target, source, env): return str(self) def get_contents(self, target, source, env): - return '' + return bytearray('','utf-8') class Builder(object): def __init__(self, environment, action): |