• Kirill Smelkov's avatar
    namever: Treat rfcXXX as non-version · 4b90d0a4
    Kirill Smelkov authored
    This fixes version detection for strict_rfc3339-0.7-py2.7.egg :
    
        def test_namever(url, nameok, verok):
    >       assert nxdbom.namever(url) == (nameok, verok)
    E       AssertionError: assert ('strict', 'rfc3339-0.7') == ('strict_rfc3339', '0.7')
    E         At index 0 diff: 'strict' != 'strict_rfc3339'
    E         Full diff:
    E         - ('strict_rfc3339', '0.7')
    E         ?         ^       ^^^^
    E         + ('strict', 'rfc3339-0.7')
    E         ?         ^^^^       ^
    4b90d0a4
nxdbom_test.py 16 KB