diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/pytest/doc/en/example/pythoncollection.py')
-rw-r--r-- | tests/wpt/web-platform-tests/tools/pytest/doc/en/example/pythoncollection.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/tools/pytest/doc/en/example/pythoncollection.py b/tests/wpt/web-platform-tests/tools/pytest/doc/en/example/pythoncollection.py new file mode 100644 index 00000000000..05858eb854b --- /dev/null +++ b/tests/wpt/web-platform-tests/tools/pytest/doc/en/example/pythoncollection.py @@ -0,0 +1,11 @@ + +# run this with $ py.test --collect-only test_collectonly.py +# +def test_function(): + pass + +class TestClass: + def test_method(self): + pass + def test_anothermethod(self): + pass |