Skip to content

Commit

Permalink
Merge pull request #1045 from schlamar/fix-win-tests
Browse files Browse the repository at this point in the history
Fixed tests on Windows.
  • Loading branch information
bdarnell committed May 6, 2014
2 parents 63ff9d6 + a1bc78b commit 41c4116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/test/ioloop_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def handle_connection(fd, events):
client_sock.connect(('127.0.0.1', port))
self.wait()
self.assertIs(fds[0], server_sock)
self.assertIs(fds[1], server_sock.fileno())
self.assertEqual(fds[1], server_sock.fileno())
self.io_loop.remove_handler(server_sock.fileno())
server_sock.close()

Expand Down
1 change: 1 addition & 0 deletions tornado/test/netutil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def tearDown(self):

@skipIfNoNetwork
@unittest.skipIf(futures is None, "futures module not present")
@unittest.skipIf(sys.platform == 'win32', "preexec_fn not available on win32")
class ThreadedResolverImportTest(unittest.TestCase):
def test_import(self):
TIMEOUT = 5
Expand Down

0 comments on commit 41c4116

Please sign in to comment.