diff options
Diffstat (limited to 'python/testData/deprecation/deprecatedModule.py')
-rw-r--r-- | python/testData/deprecation/deprecatedModule.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/testData/deprecation/deprecatedModule.py b/python/testData/deprecation/deprecatedModule.py new file mode 100644 index 000000000000..54d18cc324d0 --- /dev/null +++ b/python/testData/deprecation/deprecatedModule.py @@ -0,0 +1,3 @@ +import warnings +warnings.warn("the deprecated module is deprecated; use a non-deprecated module instead", + DeprecationWarning, 2) |