Match unit test to value used by API

This commit is contained in:
Paul Melnikow
2020-09-22 15:57:24 -04:00
parent 5f28ac34cc
commit 332a496e84

View File

@@ -171,9 +171,7 @@ describe('PyPI helpers', function () {
})
test(getPythonVersionsFromPythonRequires, () => {
given({
info: {},
}).expect(undefined)
given({ info: { requires_python: null } }).expect(undefined)
given({
info: {
requires_python: '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',