File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def test_paginator_base_missing_implementation():
27
27
28
28
with pytest .raises (
29
29
TypeError ,
30
- match = "Can't instantiate abstract class .* get_next" ,
30
+ match = "Can't instantiate abstract class .* '? get_next'? " ,
31
31
):
32
32
BaseAPIPaginator (0 )
33
33
@@ -52,7 +52,7 @@ def test_paginator_page_number_missing_implementation():
52
52
53
53
with pytest .raises (
54
54
TypeError ,
55
- match = "Can't instantiate abstract class .* has_more" ,
55
+ match = "Can't instantiate abstract class .* '? has_more'? " ,
56
56
):
57
57
BasePageNumberPaginator (1 )
58
58
@@ -62,7 +62,7 @@ def test_paginator_offset_missing_implementation():
62
62
63
63
with pytest .raises (
64
64
TypeError ,
65
- match = "Can't instantiate abstract class .* has_more" ,
65
+ match = "Can't instantiate abstract class .* '? has_more'? " ,
66
66
):
67
67
BaseOffsetPaginator (0 , 100 )
68
68
@@ -72,7 +72,7 @@ def test_paginator_hateoas_missing_implementation():
72
72
73
73
with pytest .raises (
74
74
TypeError ,
75
- match = "Can't instantiate abstract class .* get_next_url" ,
75
+ match = "Can't instantiate abstract class .* '? get_next_url'? " ,
76
76
):
77
77
BaseHATEOASPaginator ()
78
78
You can’t perform that action at this time.
0 commit comments