Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pytest): add parametrize_by_fork marker to pytest's ini config #1069

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

danceratopz
Copy link
Member

🗒️ Description

Fixes the warnings:

  ./tests/cancun/eip4844_blobs/test_blob_txs.py:373: PytestUnknownMarkWarning: Unknown pytest.mark.parametrize_by_fork - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.parametrize_by_fork

🔗 Related Issues

Fix for:

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.

This fixes warning of the type:
```
  ./tests/cancun/eip4844_blobs/test_blob_txs.py:373: PytestUnknownMarkWarning: Unknown pytest.mark.parametrize_by_fork - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.parametrize_by_fork
```
@danceratopz danceratopz added type:bug Something isn't working scope:pytest Scope: Changes EEST's pytest plugins labels Jan 10, 2025
@danceratopz danceratopz self-assigned this Jan 10, 2025
@danceratopz danceratopz requested a review from marioevz January 10, 2025 12:12
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@marioevz marioevz merged commit 3c60c4f into main Jan 10, 2025
21 checks passed
@marioevz marioevz deleted the fix/pytest/parametrize_by_fork branch January 10, 2025 19:03
codeofcarson pushed a commit to codeofcarson/execution-spec-tests that referenced this pull request Jan 24, 2025
…hereum#1069)

This fixes warning of the type:
```
  ./tests/cancun/eip4844_blobs/test_blob_txs.py:373: PytestUnknownMarkWarning: Unknown pytest.mark.parametrize_by_fork - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.parametrize_by_fork
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:pytest Scope: Changes EEST's pytest plugins type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants