Skip to content

Commit

Permalink
Skip DefaultAPITests on Windows where /dev/tty does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigc committed Sep 14, 2020
1 parent abde67d commit a3d9e3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/twisted/conch/test/test_knownhosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import os
from binascii import Error as BinasciiError, b2a_base64, a2b_base64
from unittest import skipIf

from zope.interface.verify import verifyObject

Expand Down Expand Up @@ -1155,6 +1156,7 @@ class FakeObject:
"""


@skipIf(not FilePath("/dev/tty").exists(), "Platform lacks /dev/tty")
class DefaultAPITests(TestCase):
"""
The API in L{twisted.conch.client.default.verifyHostKey} is the integration
Expand Down

0 comments on commit a3d9e3e

Please sign in to comment.