Return fixturemarker or None if it doesn't exist
(obj: object)
| 187 | |
| 188 | # TODO: Try to use FixtureFunctionDefinition instead of the marker |
| 189 | def getfixturemarker(obj: object) -> FixtureFunctionMarker | None: |
| 190 | """Return fixturemarker or None if it doesn't exist""" |
| 191 | if isinstance(obj, FixtureFunctionDefinition): |
| 192 | return obj._fixture_function_marker |
| 193 | return None |
| 194 | |
| 195 | |
| 196 | # Algorithm for sorting on a per-parametrized resource setup basis. |
no outgoing calls