6be9fcd
From f94b6940e3651b7593aca5a7a987eb56abe04cb1 Mon Sep 17 00:00:00 2001
6be9fcd
From: Bruno Oliveira <nicoddemus@gmail.com>
6be9fcd
Date: Mon, 24 Sep 2018 08:19:32 -0300
6be9fcd
Subject: [PATCH] Fix deprecation warnings and require pytest >= 3.6
6be9fcd
6be9fcd
I think it is OK to require new pytest versions instead of having to support
6be9fcd
older versions.
6be9fcd
6be9fcd
Fix #29
6be9fcd
---
6be9fcd
 test_repeat.py | 4 ++--
6be9fcd
 1 file changed, 2 insertions(+), 2 deletions(-)
6be9fcd
6be9fcd
diff --git a/test_repeat.py b/test_repeat.py
6be9fcd
index 008939f..220ccc1 100644
6be9fcd
--- a/test_repeat.py
6be9fcd
+++ b/test_repeat.py
6be9fcd
@@ -106,7 +106,7 @@ class TestRepeat:
6be9fcd
                 pass
6be9fcd
         """)
6be9fcd
         result = testdir.runpytest('--count', 'a')
6be9fcd
-        assert result.ret == 2
6be9fcd
+        assert result.ret == 4
6be9fcd
 
6be9fcd
     def test_unittest_test(self, testdir):
6be9fcd
         testdir.makepyfile("""
6be9fcd
@@ -256,4 +256,4 @@ class TestRepeat:
6be9fcd
                 pass
6be9fcd
         """)
6be9fcd
         result = testdir.runpytest('--count', '2', '--repeat-scope', 'a')
6be9fcd
-        assert result.ret == 2
6be9fcd
+        assert result.ret == 4
6be9fcd
-- 
6be9fcd
2.20.1
6be9fcd