From 0c9a2557d71a0ff11558583855a996f498d1de2c Mon Sep 17 00:00:00 2001 From: Philip May Date: Tue, 2 Jan 2024 20:38:46 +0100 Subject: [PATCH] Update pytest.md --- source/python/pytest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/python/pytest.md b/source/python/pytest.md index 8712e93..4261a4e 100644 --- a/source/python/pytest.md +++ b/source/python/pytest.md @@ -21,7 +21,7 @@ def test_my_fruit_in_basket(my_value): ```python import pytest -@pytest.mark.parametrize("test_input, expected", [("3+5", 8), ("2+4", 6), ("6*9", 42)]) +@pytest.mark.parametrize("test_input,expected", [("3+5", 8), ("2+4", 6), ("6*9", 42)]) def test_eval(test_input, expected): assert eval(test_input) == expected ```