Skip to content

Commit

Permalink
Skipping mercurial tests on not CPython
Browse files Browse the repository at this point in the history
- Seems like issue with PyPy but I am playing it safe and lazy.
  • Loading branch information
metatoaster committed Aug 2, 2024
1 parent 694efa2 commit a0ec3c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_cmd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import platform
from unittest import TestCase, skipIf, skip

import os
Expand Down Expand Up @@ -284,6 +285,10 @@ def test_auto_init(self): # pragma: no cover


@skipIf(not MercurialDvcsCmd.available(), 'mercurial is not available')
@skipIf(
platform.python_implementation() != 'CPython',
'only doing mercurial tests with CPython',
)
class MercurialDvcsCmdTestCase(CoreTestCase, RawCmdTests):
cmdcls = MercurialDvcsCmd

Expand Down

0 comments on commit a0ec3c5

Please sign in to comment.