[pypy-commit] pypy kill-ootype: small cleanup
rlamy
noreply at buildbot.pypy.org
Sat Jul 27 14:24:42 CEST 2013
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: kill-ootype
Changeset: r65707:c2d63fec53bb
Date: 2013-07-26 19:02 +0100
http://bitbucket.org/pypy/pypy/changeset/c2d63fec53bb/
Log: small cleanup
diff --git a/rpython/rtyper/test/test_rbuiltin.py b/rpython/rtyper/test/test_rbuiltin.py
--- a/rpython/rtyper/test/test_rbuiltin.py
+++ b/rpython/rtyper/test/test_rbuiltin.py
@@ -233,7 +233,7 @@
assert self.ll_to_string(res) == 'hello world'
def test_os_lseek(self):
- self._skip_llinterpreter("os.lseek", skipOO=False)
+ self._skip_llinterpreter("os.lseek")
tmpfile = str(udir.udir.join("os_lseek_test"))
f = file(tmpfile, 'w')
f.write('0123456789')
@@ -400,7 +400,6 @@
assert self.class_name(res) == 'B'
def test_os_path_join(self):
- self._skip_llinterpreter("os path oofakeimpl", skipLL=False)
def fn(a, b):
return os.path.join(a, b)
res = self.ll_to_string(self.interpret(fn, ['a', 'b']))
diff --git a/rpython/rtyper/test/tool.py b/rpython/rtyper/test/tool.py
--- a/rpython/rtyper/test/tool.py
+++ b/rpython/rtyper/test/tool.py
@@ -35,12 +35,8 @@
def is_of_type(self, x, type_):
return type(x) is type_
- def _skip_llinterpreter(self, reason, skipLL=True, skipOO=True):
- if skipLL and self.type_system == 'lltype':
- py.test.skip("lltypesystem doesn't support %s, yet" % reason)
- if skipOO and self.type_system == 'ootype':
- py.test.skip("ootypesystem doesn't support %s, yet" % reason)
-
+ def _skip_llinterpreter(self, reason):
+ py.test.skip("lltypesystem doesn't support %s, yet" % reason)
def ll_to_string(self, s):
if not s:
More information about the pypy-commit
mailing list