Author: Tim Felgentreff <[email protected]>
Branch:
Changeset: r130:8e362f43daa6
Date: 2013-03-07 11:06 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/8e362f43daa6/
Log: (tfel, lwassermann) reintroduce the assertion
diff --git a/spyvm/squeakimage.py b/spyvm/squeakimage.py
--- a/spyvm/squeakimage.py
+++ b/spyvm/squeakimage.py
@@ -366,7 +366,8 @@
def find_asSymbol(self, space, reader):
w_dnu = self.special(constants.SO_DOES_NOT_UNDERSTAND)
- # assert w_dnu.as_string() == "doesNotUnderstand:"
+ assert isinstance(w_dnu, model.W_BytesObject)
+ assert w_dnu.as_string() == "doesNotUnderstand:"
w_Symbol = w_dnu.getclass(space)
w_obj = None
# bit annoying that we have to hunt through the image :-(
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit