Skip to content

Instantly share code, notes, and snippets.

@shaypal5
Created August 3, 2019 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaypal5/7c9107b006f92666fd29d88bd6a2973d to your computer and use it in GitHub Desktop.
Save shaypal5/7c9107b006f92666fd29d88bd6a2973d to your computer and use it in GitHub Desktop.
pytest parameterize example for Gilad
@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