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

Commit5899c59

Browse files
committed
apveyor: simplify test.
1 parent8fe4fee commit5899c59

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

‎.appveyor.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
environment:
33

44
matrix:
5-
-PYTHON:"C:\\Miniconda"
5+
-PYTHON:"C:\\Python27"
66
PYTHON_VERSION:"2.7"
77
-PYTHON:"C:\\Miniconda"
88
PYTHON_VERSION:"2.7"
9-
GIT_PATH:"C:\\cygwin64\\bin"
9+
GIT_PATH:"C:\\cygwin\\bin"
1010

1111
-PYTHON:"C:\\Miniconda3-x64"
1212
PYTHON_VERSION:"3.4"
13-
-PYTHON:"C:\\Miniconda3-x64"
13+
-PYTHON:"C:\\Python34"
1414
PYTHON_VERSION:"3.4"
1515
GIT_PATH:"C:\\cygwin64\\bin"
1616

@@ -32,7 +32,9 @@ install:
3232
python -c "import struct; print(struct.calcsize('P') * 8)"
3333
conda info -a
3434
35-
-conda install --yes --quiet pip
35+
-IF EXIST "%PYTHON%\conda.exe" (
36+
conda install --yes --quiet pip
37+
)
3638
-pip install nose wheel coveralls
3739
-IF "%PYTHON_VERSION%"=="2.7" (
3840
pip install mock
@@ -60,15 +62,7 @@ install:
6062
build:off
6163

6264
test_script:
63-
-|
64-
echo "+++ Checking archives for PyPI repo..."
65-
python setup.py bdist_wheel
66-
67-
-IF "%PYTHON_VERSION%"=="3.4" (
68-
nosetests -v --with-coverage
69-
) ELSE (
70-
nosetests -v
71-
)
65+
-"nosetests -v"
7266

7367
#on_success:
7468
# - IF "%PYTHON_VERSION%"=="3.4" (coveralls)

‎git/test/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_blocking_lock_file(self):
9090
wait_lock=BlockingLockFile(my_file,0.05,wait_time)
9191
self.failUnlessRaises(IOError,wait_lock._obtain_lock)
9292
elapsed=time.time()-start
93-
assertelapsed<=wait_time+0.02# some extra time it may cost
93+
assertelapsed<=wait_time+0.02,elapsed# some extra time it may cost
9494

9595
deftest_user_id(self):
9696
assert'@'inget_user_id()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp