Bug 1606490 - /mozbuild/test/test_containers.py supports Python 3 r=firefox-build-system-reviewers,mshal

Differential Revision: https://phabricator.services.mozilla.com/D58462

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ricky Stewart 2020-01-02 16:38:25 +00:00
Родитель 6604449715
Коммит 6d2c8f49cf
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -2,6 +2,7 @@
subsuite = mozbuild
[test_base.py]
[test_containers.py]
[test_expression.py]
[test_jarmaker.py]
[test_licenses.py]

Просмотреть файл

@ -37,6 +37,5 @@ skip-if = (os == "win")
[frontend/test_reader.py]
[frontend/test_sandbox.py]
[test_artifact_cache.py]
[test_containers.py]
[test_dotproperties.py]
[test_util.py]

Просмотреть файл

@ -155,7 +155,7 @@ class TestOrderedDefaultDict(unittest.TestCase):
self.assertEqual(test['foo'], 1)
self.assertEqual(test.keys(), ['foo', 'bar'])
self.assertEqual(list(test), ['foo', 'bar'])
def test_defaults(self):
test = OrderedDefaultDict(bool, {'foo': 1})
@ -164,7 +164,7 @@ class TestOrderedDefaultDict(unittest.TestCase):
self.assertEqual(test['qux'], False)
self.assertEqual(test.keys(), ['foo', 'qux'])
self.assertEqual(list(test), ['foo', 'qux'])
class TestKeyedDefaultDict(unittest.TestCase):