diff options
Diffstat (limited to 'tests/functional/d/deprecated_methods_py2.py')
| -rw-r--r-- | tests/functional/d/deprecated_methods_py2.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/d/deprecated_methods_py2.py b/tests/functional/d/deprecated_methods_py2.py new file mode 100644 index 000000000..ceba1e4f9 --- /dev/null +++ b/tests/functional/d/deprecated_methods_py2.py @@ -0,0 +1,9 @@ +""" Functional test for deprecated methods in Python 2 """ +# pylint: disable=no-member +import os +import xml.etree.ElementTree + +os.popen2('') # [deprecated-method] +os.popen3('') # [deprecated-method] +os.popen4('') # [deprecated-method] +xml.etree.ElementTree.Element('elem').getchildren() # [deprecated-method] |
