Skip to content

Commit

Permalink
skip tornado test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aisk committed Apr 6, 2024
1 parent 9d81f81 commit 6baf33d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_tornado.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@
import logging
import socket

import pytest
from tornado import gen, testing

import thriftpy2
from thriftpy2.tornado import make_client
from thriftpy2.tornado import make_server
from thriftpy2.transport import TTransportException

if sys.platform == "win32":
pytest.skip("add_socket is not implemented on Windiws",
allow_module_level=True)

logging.basicConfig(level=logging.INFO)

addressbook = thriftpy2.load(path.join(path.dirname(__file__),
Expand Down

0 comments on commit 6baf33d

Please sign in to comment.