Skip to content

Commit

Permalink
test: remove redundant python __future__ imports
Browse files Browse the repository at this point in the history
Problem: there are some __future__ imports left over from the days
of Python 2.

Remove them, and fix a typo.
  • Loading branch information
jameshcorbett committed Dec 2, 2023
1 parent 7bc985c commit 2a8c7c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions t/scripts/flux-ion-resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# FLUX_EXEC_PATH or `flux python flux-ion-resource` if not to
# avoid python version mismatch
#
from __future__ import print_function
import argparse
import errno
import yaml
Expand Down Expand Up @@ -353,7 +352,7 @@ def main():
istr = "Print info on a single job."
sstr = "Print overall performance statistics."
cstr = "Cancel an allocated or reserved job."
fstr = "Find resources matching with a crieria."
fstr = "Find resources matching with a criteria."
ststr = "Display resource status."
ssstr = "Set up/down status of a resource vertex."
pstr = "Set property-key=value for specified resource."
Expand Down
1 change: 0 additions & 1 deletion t/scripts/flux-jsonschemalint.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# FLUX_EXEC_PATH or `flux python flux-jsonschemalint` if not to
# avoid python version mismatch
#
from __future__ import print_function

import argparse
import errno
Expand Down

0 comments on commit 2a8c7c9

Please sign in to comment.