[pypy-commit] pypy use-file-star-for-file: verify exception raised here
bdkearns
noreply at buildbot.pypy.org
Sat Sep 13 03:14:53 CEST 2014
Author: Brian Kearns <bdkearns at gmail.com>
Branch: use-file-star-for-file
Changeset: r73517:56bb9af6b44b
Date: 2014-09-12 16:45 -0700
http://bitbucket.org/pypy/pypy/changeset/56bb9af6b44b/
Log: verify exception raised here
diff --git a/rpython/rtyper/test/test_exception.py b/rpython/rtyper/test/test_exception.py
--- a/rpython/rtyper/test/test_exception.py
+++ b/rpython/rtyper/test/test_exception.py
@@ -76,12 +76,16 @@
assert e.errno == 0
assert e.strerror == "test"
assert e.filename is None
+ else:
+ assert False
try:
k(n)
except EnvironmentError as e:
assert e.errno == 0
assert e.strerror is None
assert e.filename is None
+ else:
+ assert False
self.interpret(f, [42])
def test_catch_incompatible_class(self):
More information about the pypy-commit
mailing list