Skip to content

Commit a72f779

Browse files
Updating the tests based on ruff checks.
1 parent 81968e6 commit a72f779

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

jwst/jump/tests/test_jump_step.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@ def setup_inputs():
106106
def _setup(ngroups=10, readnoise=10, nints=1, nrows=1024, ncols=1032,
107107
nframes=1, grouptime=1.0, gain=1, deltatime=1, subarray=False):
108108

109-
if subarray:
110-
shape = (nints, ngroups, 20, 20)
111-
else:
112-
shape = (nints, ngroups, nrows, ncols)
113-
114109
times = np.array(list(range(ngroups)), dtype=np.float64) * deltatime
115110

116111
data = np.zeros(shape=(nints, ngroups, nrows, ncols), dtype=np.float64)
@@ -883,7 +878,6 @@ def test_flagging_of_CRs_across_slice_boundaries(setup_inputs):
883878

884879
nrows = model.data.shape[3]
885880
num_cores = multiprocessing.cpu_count()
886-
max_cores = 'half'
887881
numslices = num_cores // 2
888882
if numslices > 1:
889883
yincrement = int(nrows / numslices)

0 commit comments

Comments
 (0)