pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/libgit2/pygit2/commit/0813ec7923d2ff062dcf42f812e53ae48dca0364

aa60c69660fa.css" /> Fix use of skipIf. · libgit2/pygit2@0813ec7 · GitHub
Skip to content

Commit 0813ec7

Browse files
committed
Fix use of skipIf.
1 parent bedd9ee commit 0813ec7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/test_commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
class CommitTest(utils.BareRepoTestCase):
4949

50-
@unittest.skipIf(__pypy__ is not None)
50+
@unittest.skipIf(__pypy__ is not None, "skip refcounts checks in pypy")
5151
def test_commit_refcount(self):
5252
commit = self.repo[COMMIT_SHA]
5353
start = sys.getrefcount(commit)

test/test_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_remote_save(self):
169169
self.assertEqual('http://example.com/test.git',
170170
self.repo.remotes[0].url)
171171

172-
@unittest.skipIf(__pypy__ is not None)
172+
@unittest.skipIf(__pypy__ is not None, "skip refcounts checks in pypy")
173173
def test_remote_refcount(self):
174174
start = sys.getrefcount(self.repo)
175175
remote = self.repo.remotes[0]

test/test_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_lookup_commit_prefix(self):
156156
commit.message)
157157
self.assertRaises(ValueError, self.repo.__getitem__, too_short_prefix)
158158

159-
@unittest.skipIf(__pypy__ is not None)
159+
@unittest.skipIf(__pypy__ is not None, "skip refcounts checks in pypy")
160160
def test_lookup_commit_refcount(self):
161161
start = sys.getrefcount(self.repo)
162162
commit_sha = '5fe808e8953c12735680c257f56600cb0de44b10'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy