From 8f54b1960e2050536f34f091c1de291febd486df Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 24 Jul 2016 00:55:33 +0200 Subject: move doctest to unittest fix small bug with parsing quoted escaped escapes --- fuzzer1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fuzzer1.py') diff --git a/fuzzer1.py b/fuzzer1.py index 57b5de6..8339fff 100755 --- a/fuzzer1.py +++ b/fuzzer1.py @@ -14,7 +14,7 @@ value_generator = itertools.count() def test(number): for value in value_generator: - if value + 1 % 500 == 0: + if (value + 1) % 500 == 0: print("thread {} at {}".format(number, value)) expected = "value{value}".format(value=value) line = Line('series' + str(value), -- cgit v1.2.1