diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-08-17 17:11:17 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-11-15 00:01:25 +0100 |
commit | ac90ac4b3425cc79c164b3dc0bd13901bf814ff7 (patch) | |
tree | 6cd182c79997b8f979dff964617d4c54c680521e /tests/test_containers.py | |
parent | b152ba79ab355c231b6e5fd852bad546e06208d9 (diff) | |
download | factory-boy-ac90ac4b3425cc79c164b3dc0bd13901bf814ff7.tar factory-boy-ac90ac4b3425cc79c164b3dc0bd13901bf814ff7.tar.gz |
[py3] Various python3-compatibility fixes.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'tests/test_containers.py')
-rw-r--r-- | tests/test_containers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_containers.py b/tests/test_containers.py index b1ed6ed..139e973 100644 --- a/tests/test_containers.py +++ b/tests/test_containers.py @@ -342,7 +342,7 @@ class AttributeBuilderTestCase(unittest.TestCase): ab = containers.AttributeBuilder(FakeFactory, {'one__blah': 1, 'two__bar': 2}) self.assertTrue(ab.has_subfields(sf)) - self.assertEqual(['one'], ab._subfields.keys()) + self.assertEqual(['one'], list(ab._subfields.keys())) self.assertEqual(2, ab._attrs['two__bar']) def test_sub_factory(self): |