summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcmd/arcstat/arcstat.py1
-rwxr-xr-xtests/test-runner/bin/zts-report.py5
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/arcstat/arcstat.py b/cmd/arcstat/arcstat.py
index b52a8c294..d7d3e9b73 100755
--- a/cmd/arcstat/arcstat.py
+++ b/cmd/arcstat/arcstat.py
@@ -112,7 +112,6 @@ cur = {}
d = {}
out = None
kstat = None
-float_pobj = re.compile("^[0-9]+(\.[0-9]+)?$")
def detailed_usage():
diff --git a/tests/test-runner/bin/zts-report.py b/tests/test-runner/bin/zts-report.py
index efee5d989..8b58950b8 100755
--- a/tests/test-runner/bin/zts-report.py
+++ b/tests/test-runner/bin/zts-report.py
@@ -292,9 +292,10 @@ def process_results(pathname):
sys.exit(1)
prefix = '/zfs-tests/tests/functional/'
- pattern = '^Test:\s*\S*%s(\S+)\s*\(run as (\S+)\)\s*\[(\S+)\]\s*\[(\S+)\]'\
+ pattern = \
+ r'^Test:\s*\S*%s(\S+)\s*\(run as (\S+)\)\s*\[(\S+)\]\s*\[(\S+)\]' \
% prefix
- pattern_log = '^\s*Log directory:\s*(\S*)'
+ pattern_log = r'^\s*Log directory:\s*(\S*)'
d = {}
for l in f.readlines():