Skip to content

Commit

Permalink
Adapt tests to the new values
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Feb 13, 2020
1 parent d031563 commit 2f022dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions readthedocs/config/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/rtd_tests/tests/test_config_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 2f022dd

Please sign in to comment.