This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 2nd, 2011  |  syntax: None  |  size: 1.11 KB  |  views: 101  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>
clone this paste RAW Paste Data