summaryrefslogtreecommitdiff
path: root/tests/functional/d/deprecated/deprecated_method_getmoduleinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/d/deprecated/deprecated_method_getmoduleinfo.py')
-rw-r--r--tests/functional/d/deprecated/deprecated_method_getmoduleinfo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/d/deprecated/deprecated_method_getmoduleinfo.py b/tests/functional/d/deprecated/deprecated_method_getmoduleinfo.py
new file mode 100644
index 000000000..3338c2456
--- /dev/null
+++ b/tests/functional/d/deprecated/deprecated_method_getmoduleinfo.py
@@ -0,0 +1,4 @@
+"""Test that getmoduleinfo is deprecated."""
+import inspect
+
+inspect.getmoduleinfo(inspect) # [deprecated-method]