Skip to content

Commit

Permalink
Revert r43353 - test suite regression on Windows
Browse files Browse the repository at this point in the history
Reopens: twisted#7229

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "C:\Users\Build Slave\bot-glyph-6\windows7-64-py2.7-select\Twisted\twisted\internet\test\test_inotify.py", line 37, in setUp
    self.inotify = inotify.INotify()
exceptions.AttributeError: 'NoneType' object has no attribute 'INotify'

twisted.internet.test.test_inotify.TestINotify.test_deleteSelf
twisted.internet.test.test_inotify.TestINotify.test_ignoreFilePath
twisted.internet.test.test_inotify.TestINotify.test_seriesOfWatchAndIgnore
twisted.internet.test.test_inotify.TestINotify.test_simpleDeleteDirectory
-------------------------------------------------------------------------------


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43369 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
  • Loading branch information
exarkun committed Oct 14, 2014
1 parent 2745f30 commit d36d586
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 208 deletions.
65 changes: 0 additions & 65 deletions .travis.yml

This file was deleted.

133 changes: 0 additions & 133 deletions bin/admin/run-test-suite

This file was deleted.

10 changes: 0 additions & 10 deletions twisted/internet/test/test_inotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""
Tests for the inotify wrapper in L{twisted.internet.inotify}.
"""
import os

from twisted.internet import defer, reactor
from twisted.python import filepath, runtime
Expand All @@ -17,10 +16,6 @@
else:
from twisted.internet import inotify

skipTravisCI = None
if os.environ.get('TRAVIS') == 'true':
skipTravisCI = 'IN_DELETE_SELF is not working on Travis CI workers.'



class TestINotify(unittest.TestCase):
Expand Down Expand Up @@ -224,7 +219,6 @@ def operation(path):

return self._notificationTest(
inotify.IN_DELETE_SELF, operation, expectedPath=self.dirname)
test_deleteSelf.skip = skipTravisCI


def test_moveSelf(self):
Expand Down Expand Up @@ -304,8 +298,6 @@ def _eb():
d = defer.Deferred()
subdir.createDirectory()
return d
# autoAdd depends IN_DELETE_SELF which is not working on Travis.
test_simpleDeleteDirectory.skip = skipTravisCI


def test_ignoreDirectory(self):
Expand Down Expand Up @@ -419,7 +411,6 @@ def callIt(*args):
expectedPath.remove()

return notified
test_seriesOfWatchAndIgnore.skip = skipTravisCI


def test_ignoreFilePath(self):
Expand Down Expand Up @@ -455,7 +446,6 @@ def callIt(*args):
expectedPath2.remove()

return notified
test_ignoreFilePath.skip = skipTravisCI


def test_ignoreNonWatchedFile(self):
Expand Down
Empty file removed twisted/topfiles/7229.misc
Empty file.

0 comments on commit d36d586

Please sign in to comment.