test_pytypes.py
10.9 KB
-
Using recently added `pytest.PY2` instead of `str is bytes`. (#2396) · cd856992
Important gain: uniformity & therefore easier cleanup when we drop PY2 support. Very slight loss: it was nice to have `str is bytes` as a reminder in this specific context.
Ralf W. Grosse-Kunstleve committed