aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pypy/tool/pytest/test/conftest1_innertest.py')
-rw-r--r--pypy/tool/pytest/test/conftest1_innertest.py19
1 files changed, 8 insertions, 11 deletions
diff --git a/pypy/tool/pytest/test/conftest1_innertest.py b/pypy/tool/pytest/test/conftest1_innertest.py
index 1cacbda32f..14c40e9a07 100644
--- a/pypy/tool/pytest/test/conftest1_innertest.py
+++ b/pypy/tool/pytest/test/conftest1_innertest.py
@@ -1,15 +1,12 @@
-def test_something(space):
- assert space.w_None is space.w_None
+def test_something(space):
+ assert space.w_None is space.w_None
-def app_test_something():
- assert 42 == 42
+class AppTestSomething:
+ def test_method_app(self):
+ assert 23 == 23
-class AppTestSomething:
- def test_method_app(self):
- assert 23 == 23
-
class TestSomething:
- def test_method(self):
- assert self.space
-
+ def test_method(self):
+ assert self.space
+