(text, version)
| 30 | ], |
| 31 | ) |
| 32 | def test_libpython_detection(text, version): |
| 33 | # GIVEN / WHEN |
| 34 | result = LIBPYTHON_REGEXP.match(text) |
| 35 | |
| 36 | # THEN |
| 37 | assert result |
| 38 | |
| 39 | major, minor = version |
| 40 | assert int(result.group("major")) == major |
| 41 | assert int(result.group("minor")) == minor |
| 42 | |
| 43 | |
| 44 | @pytest.mark.parametrize( |
nothing calls this directly
no outgoing calls
no test coverage detected