diff options
author | shimizukawa <shimizukawa@gmail.com> | 2015-03-14 16:46:24 +0900 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2015-03-14 16:46:24 +0900 |
commit | ea25342accbe8aad50f9e6e38d989f0eb12cbd0d (patch) | |
tree | cbb875e6f5f46df2b4edfeb51a340822b3345f51 /tests/test_build_html.py | |
parent | 52b46a0c34aa225a206a4877bc6bb3914a913b42 (diff) | |
download | sphinx-git-ea25342accbe8aad50f9e6e38d989f0eb12cbd0d.tar.gz |
Support PEP-440 version spec for developers.
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r-- | tests/test_build_html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 572b4e50d..3ee89b72b 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -15,7 +15,7 @@ import re from six import PY3, iteritems from six.moves import html_entities -from sphinx import __version__ +from sphinx import __display_version__ from util import remove_unicode_literals, gen_with_app from etree13 import ElementTree as ET @@ -347,7 +347,7 @@ def check_static_entries(outdir): assert (staticdir / 'subdir' / 'foo.css').isfile() # a file from a file entry in html_static_path assert (staticdir / 'templated.css').isfile() - assert (staticdir / 'templated.css').text().splitlines()[1] == __version__ + assert (staticdir / 'templated.css').text().splitlines()[1] == __display_version__ # a file from _static, but matches exclude_patterns assert not (staticdir / 'excluded.css').exists() |