Skip to content

Commit 2f022dd

Browse files
committed
Adapt tests to the new values
1 parent d031563 commit 2f022dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

readthedocs/config/tests/test_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,8 @@ def test_python_version_accepts_string(self):
974974
@pytest.mark.parametrize(
975975
'image,versions',
976976
[
977-
('latest', [1, 2.8, 4, 3.8]),
978-
('stable', [1, 2.8, 4, 3.8]),
977+
('latest', [1, 2.8, 4]),
978+
('stable', [1, 2.8, 4]),
979979
],
980980
)
981981
def test_python_version_invalid(self, image, versions):

readthedocs/rtd_tests/tests/test_config_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_python_supported_versions_image_latest(self, load_config):
146146
config = load_yaml_config(self.version)
147147
self.assertEqual(
148148
config.get_valid_python_versions(),
149-
[2, 2.7, 3, 3.5, 3.6, 3.7, 'pypy3.5'],
149+
[2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, 'pypy3.5'],
150150
)
151151

152152
@mock.patch('readthedocs.doc_builder.config.load_config')

0 commit comments

Comments
 (0)