diff options
author | Stephen D. Huston <shuston@apache.org> | 2010-03-25 14:38:16 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2010-03-25 14:38:16 +0000 |
commit | 8fd370f84c72fb92a4cbb2de59073ad7f68feef3 (patch) | |
tree | 47704f28264f86f85e77edc5fe4c6cae93610042 /python/qpid/tests | |
parent | 3232acde586982e94b6ecd860e3930b6aefe3e69 (diff) | |
download | qpid-python-8fd370f84c72fb92a4cbb2de59073ad7f68feef3.tar.gz |
Use portable "/dev/null" to allow this to run on Windows as well.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927426 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests')
-rw-r--r-- | python/qpid/tests/messaging/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/tests/messaging/endpoints.py b/python/qpid/tests/messaging/endpoints.py index 5888413f2f..ecf56e15e4 100644 --- a/python/qpid/tests/messaging/endpoints.py +++ b/python/qpid/tests/messaging/endpoints.py @@ -52,7 +52,7 @@ class SetupTests(Base): fds = [] try: while True: - fds.append(os.open("/dev/null", os.O_RDONLY)) + fds.append(os.open(os.devnull, os.O_RDONLY)) except OSError, e: if e.errno != errno.EMFILE: raise e |