summaryrefslogtreecommitdiff
path: root/tests/test_urls.py
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2017-10-11 12:35:39 +0100
committerCole Robinson <crobinso@redhat.com>2018-02-06 18:49:17 -0500
commit810ee092924083a86d98a6e18ca826f5fa4dae72 (patch)
treea9aa8c46fac7228c14341da63bb529c2c7ba775f /tests/test_urls.py
parent40c678783e6c7d1f1c5c9b09e2640a54eb8be5a4 (diff)
downloadvirt-manager-810ee092924083a86d98a6e18ca826f5fa4dae72.tar.gz
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
Diffstat (limited to 'tests/test_urls.py')
-rw-r--r--tests/test_urls.py4
1 files changed, 2 insertions, 2 deletions
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"