PageRenderTime 32ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 0ms

/pypy/module/_continuation/test/support.py

https://bitbucket.org/pypy/pypy/
Python | 13 lines | 9 code | 4 blank | 0 comment | 2 complexity | 723d7a0493a7019c42a4856fc0cc56af MD5 | raw file
Possible License(s): AGPL-3.0, BSD-3-Clause, Apache-2.0
  1. import py
  2. from rpython.rtyper.tool.rffi_platform import CompilationError
  3. class BaseAppTest:
  4. spaceconfig = dict(usemodules=['_continuation'], continuation=True)
  5. def setup_class(cls):
  6. try:
  7. import rpython.rlib.rstacklet
  8. except CompilationError as e:
  9. py.test.skip("cannot import rstacklet: %s" % e)