Created
August 3, 2019 13:25
-
-
Save shaypal5/7c9107b006f92666fd29d88bd6a2973d to your computer and use it in GitHub Desktop.
pytest parameterize example for Gilad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@pytest.mark.parametrize("parallelize", [True, False]) | |
def test_rubin(parallelize): | |
if parallelize: | |
run_parallel() | |
else: | |
foo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment