Skip to content

Commit 46d6d62

Browse files
committed
test: remove redundant python __future__ imports
Problem: there are some __future__ imports left over from the days of Python 2. Remove them, and fix a typo.
1 parent 579c193 commit 46d6d62

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

t/scripts/flux-ion-resource.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# FLUX_EXEC_PATH or `flux python flux-ion-resource` if not to
55
# avoid python version mismatch
66
#
7-
from __future__ import print_function
87
import argparse
98
import errno
109
import yaml
@@ -353,7 +352,7 @@ def main():
353352
istr = "Print info on a single job."
354353
sstr = "Print overall performance statistics."
355354
cstr = "Cancel an allocated or reserved job."
356-
fstr = "Find resources matching with a crieria."
355+
fstr = "Find resources matching with a criteria."
357356
ststr = "Display resource status."
358357
ssstr = "Set up/down status of a resource vertex."
359358
pstr = "Set property-key=value for specified resource."

t/scripts/flux-jsonschemalint.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# FLUX_EXEC_PATH or `flux python flux-jsonschemalint` if not to
55
# avoid python version mismatch
66
#
7-
from __future__ import print_function
87

98
import argparse
109
import errno

0 commit comments

Comments
 (0)