MCPcopy Create free account
hub / github.com/rthalley/dnspython / test_tuple_from_text

Function test_tuple_from_text

tests/test_features.py:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def test_tuple_from_text():
24 assert _tuple_from_text("") == ()
25 assert _tuple_from_text("1") == (1,)
26 assert _tuple_from_text("1.2") == (1, 2)
27 assert _tuple_from_text("1.2rc1") == (1, 2)
28 assert _tuple_from_text("1.2.junk3") == (1, 2)
29
30
31@pytest.mark.skipif(

Callers

nothing calls this directly

Calls 1

_tuple_from_textFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…