enabling assertions with jython, fixing one .format occurence

to provide the setting for http://paste.pocoo.org/show/147361/

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-10-27 21:51:05 +01:00
parent d2e6cd0523
commit 84efdacfc0
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ def pytest_addoption(parser):
help="disable python assert expression reinterpretation."),
def pytest_configure(config):
if sys.platform.startswith("java"):
return # XXX assertions don't work yet with jython 2.5.1
#if sys.platform.startswith("java"):
# return # XXX assertions don't work yet with jython 2.5.1
if not config.getvalue("noassert") and not config.getvalue("nomagic"):
warn_about_missing_assertion()