Skip to content

Commit 9c207e9

Browse files
committed
Remove python 2 code in tests
1 parent c11d80a commit 9c207e9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/_testConf.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,7 @@
1616
import unittest
1717
from testcontainers.compose import DockerCompose
1818

19-
import sys
20-
21-
if sys.version_info[0] < 3:
22-
# Python 2 code in this block
23-
from ConfigParser import SafeConfigParser as ConfigParser
24-
else:
25-
# Python 3 code in this block
26-
from configparser import ConfigParser
19+
from configparser import ConfigParser
2720

2821

2922
def channelFinderDocker():

0 commit comments

Comments
 (0)