Commit a65e6e1b authored by Tobias Pape's avatar Tobias Pape Committed by Stefan Marr

make the tests runable also using pytest

a pytest is shipped with rpython and typically used there
parent b1a8796f
...@@ -45,3 +45,8 @@ class BasicInterpreterTest(unittest.TestCase): ...@@ -45,3 +45,8 @@ class BasicInterpreterTest(unittest.TestCase):
return return"SOM Value handler missing")"SOM Value handler missing")
import sys
if sys.modules.has_key('pytest'):
# hack to make pytest not to collect the unexpanded test method
delattr(BasicInterpreterTest, "test_basic_interpreter_behavior")
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment