summaryrefslogtreecommitdiff
path: root/tests/test_pxssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pxssh.py')
-rw-r--r--tests/test_pxssh.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_pxssh.py b/tests/test_pxssh.py
index c6ec4e2..ba700c8 100644
--- a/tests/test_pxssh.py
+++ b/tests/test_pxssh.py
@@ -1,10 +1,12 @@
#!/usr/bin/env python
+import sys
import os
import shutil
import tempfile
import unittest
-from pexpect import pxssh
+if sys.platform != 'win32':
+ from pexpect import pxssh
from .PexpectTestCase import PexpectTestCase
class SSHTestBase(PexpectTestCase):