mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Un-deprecate `sphinx.util.import_object` (#13330)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
@@ -69,12 +69,11 @@ def test_exported_attributes():
|
||||
assert sphinx.util.FilenameUniqDict is FilenameUniqDict
|
||||
with pytest.warns(RemovedInSphinx10Warning, match=r'deprecated.'):
|
||||
assert sphinx.util.DownloadFiles is DownloadFiles
|
||||
with pytest.warns(RemovedInSphinx10Warning, match=r'deprecated.'):
|
||||
assert sphinx.util.import_object is import_object
|
||||
|
||||
# Re-exported for backwards compatibility,
|
||||
# but not currently deprecated
|
||||
assert sphinx.util.encode_uri is encode_uri
|
||||
assert sphinx.util.import_object is import_object
|
||||
assert sphinx.util.isurl is is_url
|
||||
assert sphinx.util.parselinenos is parse_line_num_spec
|
||||
assert sphinx.util.patfilter is patfilter
|
||||
|
||||
Reference in New Issue
Block a user