
Untitled
By: a guest on
Jul 2nd, 2011 | syntax:
None | size: 1.11 KB | hits: 77 | expires: Never
E:\testLock>python test_fileLock_Original.py
22
E22
E
======================================================================
ERROR: test_1 (__main__.testSingleton)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_fileLock_Original.py", line 48, in test_1
me = SingleInstance()
File "test_fileLock_Original.py", line 16, in __init__
self.fd = os.open(self.lockfile, os.O_CREAT|os.O_EXCL|os.O_RDWR)
OSError: [Errno 22] Invalid argument
======================================================================
ERROR: test_2 (__main__.testSingleton)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_fileLock_Original.py", line 51, in test_2
me = SingleInstance()
File "test_fileLock_Original.py", line 16, in __init__
self.fd = os.open(self.lockfile, os.O_CREAT|os.O_EXCL|os.O_RDWR)
OSError: [Errno 22] Invalid argument
----------------------------------------------------------------------
Ran 2 tests in 0.000s
FAILED (errors=2)
E:\testLock>