From f597c8f2f2d4bf46b69a1e61d40b2375d8ad5e89 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Wed, 11 Jun 2014 16:38:38 -0400 Subject: [PATCH] [#1659] dict() > .copy() --- ckan/new_tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/new_tests/helpers.py b/ckan/new_tests/helpers.py index 2ea806474cc..3dfdda6186d 100644 --- a/ckan/new_tests/helpers.py +++ b/ckan/new_tests/helpers.py @@ -157,7 +157,7 @@ class FunctionalTestBaseClass(): @classmethod def setup_class(cls): # Make a copy of the Pylons config, so we can restore it in teardown. - cls._original_config = config.copy() + cls._original_config = dict(config) cls._apply_config_changes(config) cls.app = _get_test_app()