Skip to content

Commit

Permalink
Revert docstrings in tests back to simpler form
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jan 3, 2024
1 parent c885c3e commit b129050
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
16 changes: 2 additions & 14 deletions tests/test_configurableField.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@ class Config1(pexConf.Config):


class Target1:
"""First target class.
Parameters
----------
config : `~lsst.pex.Config`
The configuration to use.
"""
"""First target class."""

ConfigClass = Config1

Expand All @@ -54,13 +48,7 @@ def __init__(self, config):


def Target2(config):
"""Second target class.
Parameters
----------
config : `~lsst.pex.Config`
The configuration to use.
"""
"""Second target class."""
return config.f


Expand Down
8 changes: 1 addition & 7 deletions tests/test_ticket1929.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ def setDefaults(self):


class Config3(Config1):
"""Third test config.
Parameters
----------
**kw : `~typing.Any`
Keyword parameters.
"""
"""Third test config."""

def __init__(self, **kw):
self.f = 6
Expand Down

0 comments on commit b129050

Please sign in to comment.