Skip to content
Snippets Groups Projects
Commit 104b3d9d authored by Jakub Maloštík's avatar Jakub Maloštík
Browse files

fix unittest python v3.10 support

parent c9c45dbe
No related branches found
No related tags found
No related merge requests found
...@@ -8,11 +8,15 @@ import sys ...@@ -8,11 +8,15 @@ import sys
import warnings import warnings
from os import path from os import path
from copy import deepcopy from copy import deepcopy
import unittest2 as unittest
import MySQLdb as my import MySQLdb as my
from warden_server import build_server from warden_server import build_server
import warden_server import warden_server
if sys.version_info >= (3, 10):
import unittest
else:
import unittest2
if sys.version_info[0] >= 3: if sys.version_info[0] >= 3:
from io import StringIO from io import StringIO
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment