[formatting] reformat using "black -t py34"

getting rid of thinking about consistent formatting...
This commit is contained in:
tobi-wan-kenobi 2020-05-03 11:15:52 +02:00
parent fa98bcbdd1
commit 30c1f712a6
119 changed files with 3961 additions and 3495 deletions

View file

@ -2,12 +2,13 @@ import unittest
from util.algorithm import *
class algorithm(unittest.TestCase):
def setUp(self):
self.someData = {'a': 100, 'b': 200, 'c': [1,2,3]}
self.differentData = {'x': 20, 'y': 'bla', 'z': ['a','b']}
self.moreData = {'n': 100}
self.overlapData = {'a': 200, 'c': [1,2,4]}
self.someData = {"a": 100, "b": 200, "c": [1, 2, 3]}
self.differentData = {"x": 20, "y": "bla", "z": ["a", "b"]}
self.moreData = {"n": 100}
self.overlapData = {"a": 200, "c": [1, 2, 4]}
def test_merge_with_empty(self):
self.assertEqual(self.someData, merge(self.someData, {}))
@ -37,4 +38,5 @@ class algorithm(unittest.TestCase):
for k in self.overlapData:
self.assertEqual(result[k], self.overlapData[k])
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4