diff --git a/xmodule/tests/xml/factories.py b/xmodule/tests/xml/factories.py index 0c183ebd72a4..2e9824592318 100644 --- a/xmodule/tests/xml/factories.py +++ b/xmodule/tests/xml/factories.py @@ -58,7 +58,7 @@ def __repr__(self): # Extract all argument names used to construct XmlImportData objects, # so that the factory doesn't treat them as XML attributes -XML_IMPORT_ARGS = inspect.getargspec(XmlImportData.__init__).args # lint-amnesty, pylint: disable=deprecated-method +XML_IMPORT_ARGS = inspect.getfullargspec(XmlImportData.__init__).args # lint-amnesty, pylint: disable=deprecated-method class XmlImportFactory(Factory):