Skip to content

Commit

Permalink
Benchmarks (serializers): Fixed missing scope for fixtures [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia committed Aug 5, 2024
1 parent 7691af5 commit 37606fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micro_benchmarks/serializers/bench_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def line_str(request: pytest.FixtureRequest) -> str:
return ("x" * (size - 1)) + "\n"


@pytest.fixture
@pytest.fixture(scope="module")
def line_bytes(line_str: str) -> bytes:
return bytes(line_str, "utf-8")

Expand Down

0 comments on commit 37606fe

Please sign in to comment.