summaryrefslogtreecommitdiff
path: root/tests/test_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index 4f9317df2..44a41dca1 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -62,7 +62,7 @@ def test_display_chunk():
def test_get_module_source():
- assert get_module_source('sphinx') == (sphinx.__file__, sphinx.__loader__.get_source('sphinx'))
+ assert get_module_source('sphinx') == ('file', sphinx.__file__)
# failed to obtain source information from builtin modules
with pytest.raises(PycodeError):