SHARE
TWEET

Untitled

a guest Jul 2nd, 2011 104 Never
  1. E:\testLock>python test_fileLock_Original.py
  2. 22
  3. E22
  4. E
  5. ======================================================================
  6. ERROR: test_1 (__main__.testSingleton)
  7. ----------------------------------------------------------------------
  8. Traceback (most recent call last):
  9.   File "test_fileLock_Original.py", line 48, in test_1
  10.     me = SingleInstance()
  11.   File "test_fileLock_Original.py", line 16, in __init__
  12.     self.fd =  os.open(self.lockfile, os.O_CREAT|os.O_EXCL|os.O_RDWR)
  13. OSError: [Errno 22] Invalid argument
  14.  
  15. ======================================================================
  16. ERROR: test_2 (__main__.testSingleton)
  17. ----------------------------------------------------------------------
  18. Traceback (most recent call last):
  19.   File "test_fileLock_Original.py", line 51, in test_2
  20.     me = SingleInstance()
  21.   File "test_fileLock_Original.py", line 16, in __init__
  22.     self.fd =  os.open(self.lockfile, os.O_CREAT|os.O_EXCL|os.O_RDWR)
  23. OSError: [Errno 22] Invalid argument
  24.  
  25. ----------------------------------------------------------------------
  26. Ran 2 tests in 0.000s
  27.  
  28. FAILED (errors=2)
  29.  
  30. E:\testLock>
RAW Paste Data
Top