Skip to content
Snippets Groups Projects
Commit 0c272fbe authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fix unit tests

parent 49cef48f
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,8 @@ class TestTransforms(unittest.TestCase): ...@@ -19,8 +19,8 @@ class TestTransforms(unittest.TestCase):
map_through=x*2) map_through=x*2)
self.assertTrue(a == 4 and b == 6 and c == 10) self.assertTrue(a == 4 and b == 6 and c == 10)
self.assertRaises(KeyError, lambda: unpack_dict({}, 2)) self.assertRaises(KeyError, lambda: list(unpack_dict({}, 2)))
self.assertIsNone(unpack_dict({}, 2, raise_if_not_found=False)) self.assertIsNone(list(unpack_dict({}, 2, raise_if_not_found=False))[0])
def test_is_subset(self): def test_is_subset(self):
self.assertTrue(is_subset({}, {})) self.assertTrue(is_subset({}, {}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment