Skip to content

Commit

Permalink
Styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Oct 19, 2015
1 parent 54ce352 commit 75a12f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_signalfd.py
Expand Up @@ -19,7 +19,7 @@ def test_block_and_read():


def test_read_fd_no_data():
fd = signalfd.signalfd(-1, [signal.SIGUSR1], signalfd.SFD_CLOEXEC | signalfd.SFD_NONBLOCK )
fd = signalfd.signalfd(-1, [signal.SIGUSR1], signalfd.SFD_CLOEXEC | signalfd.SFD_NONBLOCK)
try:
err = pytest.raises((OSError, IOError), signalfd.read_siginfo, fd)
assert err.value.errno == errno.EAGAIN
Expand All @@ -28,7 +28,7 @@ def test_read_fd_no_data():


def test_read_fh_no_data():
fd = signalfd.signalfd(-1, [signal.SIGUSR1], signalfd.SFD_CLOEXEC | signalfd.SFD_NONBLOCK )
fd = signalfd.signalfd(-1, [signal.SIGUSR1], signalfd.SFD_CLOEXEC | signalfd.SFD_NONBLOCK)
fh = os.fdopen(fd, 'rb')
try:
err = pytest.raises((OSError, IOError), signalfd.read_siginfo, fh)
Expand Down

0 comments on commit 75a12f1

Please sign in to comment.