From 810ee092924083a86d98a6e18ca826f5fa4dae72 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Wed, 11 Oct 2017 12:35:39 +0100 Subject: Replace ConfigParser with configparser The ConfigParser module has been renamed to configparser in Python 3. [1] Backport of this changes is also available for Python 2. [2] [1] https://docs.python.org/2/library/configparser.html [2] https://pypi.python.org/pypi/configparser/3.2.0r3 --- tests/test_urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_urls.py') diff --git a/tests/test_urls.py b/tests/test_urls.py index 6fc09ce6..a477f079 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -234,8 +234,8 @@ class URLTests(unittest.TestCase): def _make_tests(): - import ConfigParser - cfg = ConfigParser.ConfigParser() + import configparser + cfg = configparser.ConfigParser() cfg.read("tests/test_urls.ini") manualpath = "tests/test_urls_manual.ini" -- cgit v1.2.1