<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? In, this case, we need to construct some pickled resources, then use them for the test. The first time the resource is generated, it prints out a "generated resource x..." message. If the resource already exists, it generates no output. Both outputs are ok. 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>