test: remove python 2.4 specific behaviour in test
Remove some python 2.4 specific code as we don't support python 2.4
anymore.
import os
-import sys
import pytest
@@ -125,12 +124,6 @@ def get_cases():
else:
e.skip = False
# e.skip = True
- if sys.version_info[:2] == (2, 4):
- import pickle
-
- gjt = pickle.dumps(generictest)
- gt = pickle.loads(gjt)
- else:
gt = deepcopy(generictest)
gt.__doc__ = tfile
yield gt, e
