aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/utils/tests
diff options
context:
space:
mode:
Diffstat (limited to 'diplomacy/utils/tests')
-rw-r--r--diplomacy/utils/tests/test_jsonable_changes.py7
-rw-r--r--diplomacy/utils/tests/test_parsing.py2
2 files changed, 5 insertions, 4 deletions
diff --git a/diplomacy/utils/tests/test_jsonable_changes.py b/diplomacy/utils/tests/test_jsonable_changes.py
index 992a8fb..2f37db3 100644
--- a/diplomacy/utils/tests/test_jsonable_changes.py
+++ b/diplomacy/utils/tests/test_jsonable_changes.py
@@ -103,9 +103,10 @@ class Version22(Jsonable):
class Version3(Jsonable):
""" Version 1 with a modified, b removed, e added.
To parse a dict between Version3 and Version1:
- - a must be convertible in both versions.
- - b must be optional in Version1.
- - e must be optional in Version3.
+
+ - a must be convertible in both versions.
+ - b must be optional in Version1.
+ - e must be optional in Version3.
"""
model = {
'a': parsing.ConverterType(str, converter_function=str),
diff --git a/diplomacy/utils/tests/test_parsing.py b/diplomacy/utils/tests/test_parsing.py
index f64ad26..f96a981 100644
--- a/diplomacy/utils/tests/test_parsing.py
+++ b/diplomacy/utils/tests/test_parsing.py
@@ -21,7 +21,7 @@ from diplomacy.utils.sorted_set import SortedSet
from diplomacy.utils.tests.test_common import assert_raises
from diplomacy.utils.tests.test_jsonable import MyJsonable
-class MyStringable():
+class MyStringable:
""" Example of Stringable class.
As instances of such class may be used as dict keys, class should define a proper __hash__().
"""