Fix getsymval for python3

This commit is contained in:
Stuart D. Gathman
2018-12-23 23:16:42 -05:00
parent 2194d8fd96
commit 4e8fda517c
2 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -63,7 +63,10 @@ class TestBase(object):
syms = self._symlist[stage]
if syms is not None and name not in syms:
return None
return self._macros.get(name,None)
r = self._macros.get(name,None)
if r is not None:
return r.decode()
return r
def replacebody(self,chunk):
if self._body: