Skip to content

Commit

Permalink
make linter happier
Browse files Browse the repository at this point in the history
  • Loading branch information
st-- committed Nov 30, 2017
1 parent 1fe2e2c commit 652936f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions testing/python/metafunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,13 @@ def test_class_or_function_idval(self):
values that are classes or functions: their __name__.
"""
from _pytest.python import _idval
class TestClass: pass
def test_function(): pass

class TestClass:
pass

def test_function():
pass

values = [
(TestClass, "TestClass"),
(test_function, "test_function"),
Expand Down

0 comments on commit 652936f

Please sign in to comment.