From 6954b3a1611e5921be776b356ef40451e0d9ac71 Mon Sep 17 00:00:00 2001 From: Ray Plante Date: Thu, 12 Dec 2019 11:53:35 -0500 Subject: [PATCH] python: get rid of warnings when testing describe mock service --- python/tests/nistoar/pdr/describe/test_sim_describe_svc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/nistoar/pdr/describe/test_sim_describe_svc.py b/python/tests/nistoar/pdr/describe/test_sim_describe_svc.py index 9be6de379..ad1322554 100644 --- a/python/tests/nistoar/pdr/describe/test_sim_describe_svc.py +++ b/python/tests/nistoar/pdr/describe/test_sim_describe_svc.py @@ -12,7 +12,7 @@ import imp simsrvrsrc = os.path.join(testdir, "sim_describe_svc.py") with open(simsrvrsrc, 'r') as fd: - desc = imp.load_module("sim_describe_svc.py", fd, simsrvrsrc, + desc = imp.load_module("sim_describe_svc", fd, simsrvrsrc, (".py", 'r', imp.PY_SOURCE)) basedir = os.path.dirname(os.path.dirname(os.path.dirname(