Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: 
Changeset: r95389:a2d417aec82f
Date: 2018-11-30 16:15 +0100
http://bitbucket.org/pypy/pypy/changeset/a2d417aec82f/

Log:    fix test

diff --git a/rpython/translator/c/test/test_standalone.py 
b/rpython/translator/c/test/test_standalone.py
--- a/rpython/translator/c/test/test_standalone.py
+++ b/rpython/translator/c/test/test_standalone.py
@@ -521,11 +521,9 @@
         assert path.check(file=0)
 
     def test_debug_start_stop_timestamp(self):
-        import sys
-        import time
         from rpython.rlib.rtimer import read_timestamp
         def entry_point(argv):
-            timestamp = int(argv[1])
+            timestamp = bool(int(argv[1]))
             ts1 = debug_start("foo", timestamp=timestamp)
             ts2 = read_timestamp()
             ts3 = debug_stop("foo", timestamp=timestamp)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to