Skip to content

Commit 517507f

Browse files
committed
fix: removed py2/py3 compatibility
1 parent b45e28e commit 517507f

12 files changed

+0
-50
lines changed

tests/Integration/WorkloadManagementSystem/Test_Client_WMS.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525

2626
# pylint: disable=protected-access,wrong-import-position,invalid-name
2727

28-
from __future__ import print_function
29-
from __future__ import absolute_import
30-
from __future__ import division
31-
3228
import unittest
3329
import sys
3430
import datetime

tests/Integration/WorkloadManagementSystem/Test_JobDB.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,10 @@
66

77
# pylint: disable=wrong-import-position
88

9-
from __future__ import print_function
10-
from __future__ import absolute_import
11-
from __future__ import division
12-
139
from datetime import datetime, timedelta
1410

1511
import pytest
1612

17-
__RCSID__ = "$Id$"
18-
1913
from DIRAC.Core.Base.Script import parseCommandLine
2014

2115
parseCommandLine()

tests/Integration/WorkloadManagementSystem/Test_JobLoggingDB.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
""" This test only need the JobLoggingDB to be present
22
"""
3-
from __future__ import absolute_import
4-
from __future__ import division
5-
from __future__ import print_function
6-
73
# pylint: disable=invalid-name,wrong-import-position
84

95
import unittest

tests/Integration/WorkloadManagementSystem/Test_JobParameters_MySQLandES.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44
flag in /Operations/[]/Services/JobMonitoring/useESForJobParametersFlag
55
"""
66

7-
from __future__ import print_function, absolute_import
8-
from __future__ import division
9-
107
import os
118
import time
129

13-
__RCSID__ = "$Id$"
14-
1510
from DIRAC.Core.Utilities.DIRACScript import DIRACScript as Script
1611

1712
Script.parseCommandLine()

tests/Integration/WorkloadManagementSystem/Test_JobWrapper.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
""" JobWrapper test
22
"""
3-
from __future__ import absolute_import
4-
from __future__ import division
5-
from __future__ import print_function
6-
73
import unittest
84
import os
95
import sys

tests/Integration/WorkloadManagementSystem/Test_PilotAgentsDB.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
Suggestion: for local testing, run this with::
44
python -m pytest -c ../pytest.ini -vv tests/Integration/WorkloadManagementSystem/Test_PilotAgentsDB.py
55
"""
6-
from __future__ import absolute_import
7-
from __future__ import division
8-
from __future__ import print_function
9-
106
# pylint: disable=wrong-import-position
117

128
from DIRAC.Core.Base.Script import parseCommandLine

tests/Integration/WorkloadManagementSystem/Test_PilotsClient.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
this is pytest!
1010
1111
"""
12-
from __future__ import absolute_import
13-
from __future__ import division
14-
from __future__ import print_function
15-
1612
from DIRAC.Core.Base.Script import parseCommandLine
1713

1814
parseCommandLine()

tests/Integration/WorkloadManagementSystem/Test_PilotsLoggingClient.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
44
It supposes that the DB is present, and that the service is running
55
"""
6-
from __future__ import absolute_import
7-
from __future__ import division
8-
from __future__ import print_function
9-
106
import unittest
117
import sys
128

tests/Integration/WorkloadManagementSystem/Test_TaskQueueDB.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
Suggestion: for local testing, run this with::
1111
python -m pytest -c ../pytest.ini -vv tests/Integration/WorkloadManagementSystem/Test_TaskQueueDB.py
1212
"""
13-
from __future__ import absolute_import
14-
from __future__ import division
15-
from __future__ import print_function
16-
1713
from DIRAC import gLogger
1814

1915
from DIRAC.Core.Base.Script import parseCommandLine

tests/Integration/WorkloadManagementSystem/createJobXMLDescriptions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
""" This simply invokes DIRAC APIs for creating 2 jobDescription.xml files,
22
one with an application that will end with status 0, and a second with status != 0
33
"""
4-
from __future__ import absolute_import
5-
from __future__ import division
6-
from __future__ import print_function
7-
84
from DIRAC.Core.Base.Script import parseCommandLine
95

106
parseCommandLine()

0 commit comments

Comments
 (0)