On Wednesday, 29 April 2020 at 20:43:20 UTC, Casey wrote:
So, I'm trying to run some tests and I had code that looks
similar to this:
[...]
I feel like I'm missing something obscure and it's driving me a
bit batty. Any clue as to why this is happening? I'd like to
not have to worry about creating new variable names between
tests. To me, it seems like each unittest block is independent
of each other and I haven't come across anything that
contradicts that. However, I didn't find anything that
confirms it either.
Thanks.
The code you posted looks correct to me. If you can post a
complete example that reproduces the problem, it will be much
easier for others to help you debug.