summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topogen.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-04-19 04:20:45 -0400
committerChristian Hopps <chopps@labn.net>2023-04-21 22:10:48 -0400
commit7592b2ccae7a5459642bf27a63351fede38d9963 (patch)
treed44913615284ff486c246a244b1453250a5e0fd0 /tests/topotests/lib/topogen.py
parentfec51f2e2be021108dc1de4dd1ea89516082eaf7 (diff)
tests: blacken re-format
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/topogen.py')
-rw-r--r--tests/topotests/lib/topogen.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/topotests/lib/topogen.py b/tests/topotests/lib/topogen.py
index 7843063165..888012585d 100644
--- a/tests/topotests/lib/topogen.py
+++ b/tests/topotests/lib/topogen.py
@@ -25,6 +25,7 @@ Basic usage instructions:
* After running stop Mininet with: tgen.stop_topology()
"""
+import configparser
import grp
import inspect
import json
@@ -38,11 +39,6 @@ import subprocess
import sys
from collections import OrderedDict
-if sys.version_info[0] > 2:
- import configparser
-else:
- import ConfigParser as configparser
-
import lib.topolog as topolog
from lib.micronet import Commander
from lib.micronet_compat import Mininet