File: os_test.py

package info (click to toggle)
python-eventlet 0.40.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,200 kB
  • sloc: python: 25,101; sh: 78; makefile: 31
file content (18 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import eventlet
import tests


def test_pathlib_open_issue_534():
    pathlib = eventlet.import_patched('pathlib')
    path = pathlib.Path(__file__)
    with path.open():
        # should not raise
        pass


def test_os_read_nonblocking():
    tests.run_isolated('os_read_nonblocking.py')


def test_os_write_nonblocking():
    tests.run_isolated('os_write_nonblocking.py')