iter() always never re-wraps an iterator, so 'iter(i) is iter(i)' tests if we wrapped a container or if we already had an iterator. I also tried types.GeneratorType and inspect helpers but they did not work for this use case. |
||
|---|---|---|
| .. | ||
| network | ||
| __init__.py | ||
| test_deps.py | ||
| test_encoding.py | ||
| test_jsonrpc.py | ||
| test_path.py | ||
| test_validation.py | ||
| test_xdg.py | ||