Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.25 KB | None | 0 0
  1. (honzad) C:\Users\vojnovic\Documents\git_repos\pyalphat (master)
  2. λ nosetests -vs sample_tests\foobar.py:TestFoobar.test_alpha
  3. test_alpha (sample_tests.foobar.TestFoobar) ... ERROR
  4.  
  5. ======================================================================
  6. ERROR: test_alpha (sample_tests.foobar.TestFoobar)
  7. ----------------------------------------------------------------------
  8. Traceback (most recent call last):
  9.   File "C:\Users\vojnovic\Documents\git_repos\pyalphat\sample_tests\foobar.py", line 32, in test_alpha
  10.     wire_up(TestFoobar.suite, sigkey, arrange, assert_, dt)
  11.   File "C:\Users\vojnovic\Documents\git_repos\pyalphat\longrun\deferred.py", line 26, in wire_up
  12.     dt.register(sigkey, assert_date, data)
  13.   File "C:\Users\vojnovic\Documents\git_repos\pyalphat\longrun\deferred.py", line 182, in register
  14.     ts = timestamp(assert_date)
  15.   File "C:\Users\vojnovic\Documents\git_repos\pyalphat\longrun\deferred.py", line 58, in timestamp
  16.     raise TypeError('only datetime or number of secs to add to now (int) can be passed as an assert_date')
  17. TypeError: only datetime or number of secs to add to now (int) can be passed as an assert_date
  18.  
  19. ----------------------------------------------------------------------
  20. Ran 1 test in 0.010s
  21.  
  22. FAILED (errors=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement