File disable-python2-test.patch of Package python-Sphinx
Index: Sphinx-1.8.5/tests/test_util.py
===================================================================
--- Sphinx-1.8.5.orig/tests/test_util.py
+++ Sphinx-1.8.5/tests/test_util.py
@@ -48,9 +48,7 @@
def test_get_module_source():
- if PY2:
- assert get_module_source('sphinx') == ('file', sphinx.__file__.replace('.pyc', '.py'))
- else:
+ if not PY2:
assert get_module_source('sphinx') == ('file', sphinx.__file__)
# failed to obtain source information from builtin modules