Skip to content

Commit f0d0567

Browse files
committed
Remove Python 2 code path
1 parent 0a546ab commit f0d0567

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pytest_sqlalchemy.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,7 @@ def app_config(request):
122122
[DEFAULT]
123123
sqlalchemy.url = postgresql://scott:tiger@localhost/test
124124
"""
125-
try:
126-
import ConfigParser
127-
except ImportError:
128-
import configparser as ConfigParser
125+
import configparser as ConfigParser
129126

130127
config_path = request.config.getoption("--sqlalchemy-config-file")
131128
if config_path:

0 commit comments

Comments
 (0)