<div dir="ltr">Hi All,<br><br>Is there a way of having a doctest pass if it has EITHER output A or output B?&nbsp; In, this case, we need to construct some pickled resources, then use them for the test.&nbsp; The first time the resource is generated, it prints out a &quot;generated resource x...&quot; message.&nbsp; If the resource already exists, it generates no output.&nbsp; Both outputs are ok.&nbsp; Running the tests twice ensures that the resources will all be there and no generation messages are printed, which is what the doctests currently expect, but this seems hacky...<br>
<br>Cheers,<br>Rob<br></div>