Author: Ronny Pfannschmidt <[email protected]>
Branch: pytest
Changeset: r57739:e76c004973a7
Date: 2012-10-02 17:15 +0200
http://bitbucket.org/pypy/pypy/changeset/e76c004973a7/
Log: use the applymarker api
diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -365,7 +365,7 @@
class IntTestFunction(py.test.collect.Function):
def __init__(self, *args, **kwargs):
super(IntTestFunction, self).__init__(*args, **kwargs)
- self.keywords['interplevel'] = True
+ self.applymarker(pytest.mark.interplevel)
def runtest(self):
try:
@@ -386,7 +386,7 @@
class AppTestFunction(py.test.collect.Function):
def __init__(self, *args, **kwargs):
super(AppTestFunction, self).__init__(*args, **kwargs)
- self.keywords['applevel'] = True
+ self.applymarker(pytest.mark.applevel)
def _prunetraceback(self, traceback):
return traceback
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit