summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2006-05-12 10:25:44 -0700
committerRobey Pointer <robey@lag.net>2006-05-12 10:25:44 -0700
commit0ad8405d159137655688781eea1e169e6b4083c4 (patch)
tree52e5f27713d0188cd1e431a15dd27a2a0a938d41 /tests
parentda04f66cf649c4556740afe604a9ae48d246b64a (diff)
[project @ robey@lag.net-20060512172544-f1cab2a1959987bf]
fix new cygwin test failures reported by alexander
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_sftp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index 30366371..3377621e 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -304,7 +304,7 @@ class SFTPTest (unittest.TestCase):
sftp.utime(FOLDER + '/special', (atime, mtime))
stat = sftp.stat(FOLDER + '/special')
self.assertEqual(stat.st_mtime, mtime)
- if sys.platform != 'win32':
+ if sys.platform not in ('win32', 'cygwin'):
self.assertEqual(stat.st_atime, atime)
# can't really test chown, since we'd have to know a valid uid.
@@ -345,7 +345,7 @@ class SFTPTest (unittest.TestCase):
f.utime((atime, mtime))
stat = f.stat()
self.assertEqual(stat.st_mtime, mtime)
- if sys.platform != 'win32':
+ if sys.platform not in ('win32', 'cygwin'):
self.assertEqual(stat.st_atime, atime)
# can't really test chown, since we'd have to know a valid uid.