diff --git a/xmodule/tests/xml/factories.py b/xmodule/tests/xml/factories.py index 23a57898b6..a62f7b3f49 100644 --- a/xmodule/tests/xml/factories.py +++ b/xmodule/tests/xml/factories.py @@ -57,7 +57,7 @@ class XmlImportData: # 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 class XmlImportFactory(Factory):