Skip to content

Commit 4452c7f

Browse files
zrocallahan
authored andcommitted
remove dependency to python2
1 parent 5ba8e55 commit 4452c7f

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/test/check_syscall_perf_interval.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import print_function
2-
31
import sys
42
import re
53

src/test/clone_interruption.run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ RECORD_ARGS="-c100"
44
record $TESTNAME
55
# Don't use pipes here since we need 'debug' to run in the same bash process
66
declare -i stop_at_event=`rr --suppress-environment-warnings dump $workdir/latest-trace | \
7-
python2 $TESTDIR/clone_interruption_finder.py`
7+
python $TESTDIR/clone_interruption_finder.py`
88
debug clone_interruption "-g $stop_at_event"

src/test/clone_interruption_finder.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import print_function
2-
31
import sys
42
import re
53

src/test/cpuid.run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [[ $@ == -n ]]; then
1414
;;
1515
esac
1616
rr --suppress-environment-warnings dump $workdir/latest-trace | \
17-
python2 $TESTDIR/check_syscall_perf_interval.py $syscall rbc 2
17+
python $TESTDIR/check_syscall_perf_interval.py $syscall rbc 2
1818
if [[ $? != 0 ]]; then
1919
failed "expected 2 rbcs between each geteuid32 syscall"
2020
fi

0 commit comments

Comments
 (0)