Blob Blame History Raw
From f94b6940e3651b7593aca5a7a987eb56abe04cb1 Mon Sep 17 00:00:00 2001
From: Bruno Oliveira <nicoddemus@gmail.com>
Date: Mon, 24 Sep 2018 08:19:32 -0300
Subject: [PATCH] Fix deprecation warnings and require pytest >= 3.6

I think it is OK to require new pytest versions instead of having to support
older versions.

Fix #29
---
 test_repeat.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test_repeat.py b/test_repeat.py
index 008939f..220ccc1 100644
--- a/test_repeat.py
+++ b/test_repeat.py
@@ -106,7 +106,7 @@ class TestRepeat:
                 pass
         """)
         result = testdir.runpytest('--count', 'a')
-        assert result.ret == 2
+        assert result.ret == 4
 
     def test_unittest_test(self, testdir):
         testdir.makepyfile("""
@@ -256,4 +256,4 @@ class TestRepeat:
                 pass
         """)
         result = testdir.runpytest('--count', '2', '--repeat-scope', 'a')
-        assert result.ret == 2
+        assert result.ret == 4
-- 
2.20.1