[pypy-commit] pypy default: Uh?
arigo
noreply at buildbot.pypy.org
Wed Feb 6 11:12:47 CET 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r60901:b970e1d7abc4
Date: 2013-02-06 11:12 +0100
http://bitbucket.org/pypy/pypy/changeset/b970e1d7abc4/
Log: Uh?
diff --git a/rpython/annotator/test/test_annrpython.py b/rpython/annotator/test/test_annrpython.py
--- a/rpython/annotator/test/test_annrpython.py
+++ b/rpython/annotator/test/test_annrpython.py
@@ -1983,13 +1983,9 @@
return None
def g(a):
x = f(a)
- #assert x is not None
if x is None:
return "abcd"
return x
- if isinstance(x, str):
- return x
- return "impossible"
a = self.RPythonAnnotator()
s = a.build_types(f, [int])
assert s.can_be_None
More information about the pypy-commit
mailing list