From 332a496e84d449e1149cbd5be274fe058a1e4eeb Mon Sep 17 00:00:00 2001 From: Paul Melnikow Date: Tue, 22 Sep 2020 15:57:24 -0400 Subject: [PATCH] Match unit test to value used by API --- services/pypi/pypi-helpers.spec.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/pypi/pypi-helpers.spec.js b/services/pypi/pypi-helpers.spec.js index f82d39892b..efc0fe9d25 100644 --- a/services/pypi/pypi-helpers.spec.js +++ b/services/pypi/pypi-helpers.spec.js @@ -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.*',