<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Here's the simplified example code:</div>
<div>https://gist.github.com/elizabethlin/7754f0324b8f7b1c7388</div>
<div><br>
</div>
<div>this gets generates the following tests:&nbsp;</div>
<div>test_example.py:31: TestExample.test_one[std] FAILED&nbsp;</div>
<div>test_example.py:35: TestExample.test_two[std] FAILED&nbsp;</div>
<div>test_example.py:39: TestExample.test_three[std] FAILED&nbsp;</div>
<div>test_example.py:31: TestExample.test_one[virt] FAILED&nbsp;</div>
<div>test_example.py:35: TestExample.test_two[virt] FAILED&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<div>&nbsp;when really I want&nbsp;</div>
<div>test_example.py:31: TestExample.test_one[std] FAILED&nbsp;</div>
<div>test_example.py:35: TestExample.test_two[std] FAILED&nbsp;</div>
<div>test_example.py:39: TestExample.test_three[std] FAILED&nbsp;</div>
<div>test_example.py:31: TestExample.test_one[virt-typeA] FAILED&nbsp;</div>
<div>test_example.py:35: TestExample.test_two[virt-typeA] FAILED&nbsp;</div>
<div>&quot; [virt-typeB]&nbsp;</div>
<div>&quot; [virt-typeB]</div>
<div><br>
</div>
<div>Can someone help me out? &nbsp;I imagine that pytest_generate_tests gets called at an earlier step, before the fixtures are executed, and at that time, it can't detect that we need the parametrization for generated fix to happen. &nbsp;There's probably other reasons
 this won't work, but I'm having trouble decifering the pytest code, and the flow of it. &nbsp;</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Liz</div>
</body>
</html>