Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24fe60a

Browse files
committed
running tests using python 3 (instead of python 2)
1 parentf98a4ee commit24fe60a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎run_tests.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ else
105105

106106
# Setup python environment
107107
echo"############### Setting up python env"
108-
virtualenv pyenv
108+
virtualenv--python=/usr/bin/python3pyenv
109109
source pyenv/bin/activate
110110
pip install testgres==1.8.2
111111

@@ -118,10 +118,10 @@ else
118118

119119
if ["$TEST_CASE"="all" ];then
120120
# Run all pg_probackup ptrack tests
121-
python -m unittest -v tests.ptrack|| status=$?
121+
python3 -m unittest -v tests.ptrack|| status=$?
122122
else
123123
foriin`seq$TEST_REPEATS`;do
124-
python -m unittest -v tests.ptrack.PtrackTest.$TEST_CASE|| status=$?
124+
python3 -m unittest -v tests.ptrack.PtrackTest.$TEST_CASE|| status=$?
125125
done
126126
fi
127127

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp