Commits

Matt Chaput  committed 2de43ef

Changed now() test to lt-or-eq due to clock resolution.

  • Participants
  • Parent commits bba0d40

Comments (0)

Files changed (1)

File tests/test_misc.py

 
 
 def test_now():
-    import time
     from whoosh.util import now
 
     t1 = now()
     t2 = now()
-    assert t1 < t2
+    assert t1 <= t2
 
 
 def test_storage_creation():