From 2f022dd65f7305bef044d407c6b28e967c7328e2 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 13 Feb 2020 16:22:53 +0100 Subject: [PATCH] Adapt tests to the new values --- readthedocs/config/tests/test_config.py | 4 ++-- readthedocs/rtd_tests/tests/test_config_integration.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readthedocs/config/tests/test_config.py b/readthedocs/config/tests/test_config.py index f756e5a80b1..cb1e459fa7b 100644 --- a/readthedocs/config/tests/test_config.py +++ b/readthedocs/config/tests/test_config.py @@ -974,8 +974,8 @@ def test_python_version_accepts_string(self): @pytest.mark.parametrize( 'image,versions', [ - ('latest', [1, 2.8, 4, 3.8]), - ('stable', [1, 2.8, 4, 3.8]), + ('latest', [1, 2.8, 4]), + ('stable', [1, 2.8, 4]), ], ) def test_python_version_invalid(self, image, versions): diff --git a/readthedocs/rtd_tests/tests/test_config_integration.py b/readthedocs/rtd_tests/tests/test_config_integration.py index d1ba0a935e1..f74c28b295f 100644 --- a/readthedocs/rtd_tests/tests/test_config_integration.py +++ b/readthedocs/rtd_tests/tests/test_config_integration.py @@ -146,7 +146,7 @@ def test_python_supported_versions_image_latest(self, load_config): config = load_yaml_config(self.version) self.assertEqual( config.get_valid_python_versions(), - [2, 2.7, 3, 3.5, 3.6, 3.7, 'pypy3.5'], + [2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, 'pypy3.5'], ) @mock.patch('readthedocs.doc_builder.config.load_config')