Changeset - 4516cd7f6cbb
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-05-13 17:11:51
branko@majic.rs
GC-33: Fixed Python 3.8 deprecation warning about use of collections.* instead of collections.abc.*.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
tests/test_decorators.py
Show inline comments
 
@@ -19,7 +19,7 @@
 
#
 

	
 

	
 
import collections
 
import collections.abc
 

	
 
import gimmecert.decorators
 

	
 
@@ -30,7 +30,7 @@ def test_get_subcommand_parser_setup_functions_returns_list():
 

	
 
    registered_functions = gimmecert.decorators.get_subcommand_parser_setup_functions()
 

	
 
    assert isinstance(registered_functions, collections.Iterable)
 
    assert isinstance(registered_functions, collections.abc.Iterable)
 

	
 

	
 
def test_subcommand_parser_decorator_registers_function():
0 comments (0 inline, 0 general)