GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — apveyor: simplify test. · gitpython-developers/GitPython@5899c59

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .appveyor.yml
  • git/test
    • test_util.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.appveyor.yml‎

Copy file name to clipboardExpand all lines: .appveyor.yml
+7-13Lines 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)
Collapse file

‎git/test/test_util.py‎

Copy file name to clipboardExpand all lines: git/test/test_util.py
+1-1Lines 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-
assert elapsed <= wait_time + 0.02 # some extra time it may cost
93+
assert elapsed <= wait_time + 0.02, elapsed # some extra time it may cost
9494

9595
def test_user_id(self):
9696
assert '@' in get_user_id()

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.