예제 #1
0
def test_detect_pypy():
    """
    Is pypyclean implementation for PyPy?
    """
    from pyclean import pypyclean
    assert compat.get_implementation() is pypyclean
예제 #2
0
def test_detect_py2():
    """
    Is pyclean implementation returned for Python 2?
    """
    from pyclean import py2clean
    assert compat.get_implementation() is py2clean