diff options
author | Eric V. Smith <eric@trueblade.com> | 2012-05-25 00:22:10 (GMT) |
---|---|---|
committer | Eric V. Smith <eric@trueblade.com> | 2012-05-25 00:22:10 (GMT) |
commit | 283d0ba45d66d2884ddec1085b40f3a95bd5e987 (patch) | |
tree | c8dbe3f52dbf77f18d106248df6c11de8bd307a7 | |
parent | 984b11f88fcace98e30decc19bbf9e281355e607 (diff) | |
download | cpython-283d0ba45d66d2884ddec1085b40f3a95bd5e987.zip cpython-283d0ba45d66d2884ddec1085b40f3a95bd5e987.tar.gz cpython-283d0ba45d66d2884ddec1085b40f3a95bd5e987.tar.bz2 |
Whitespace cleanup.
-rw-r--r-- | Lib/importlib/test/frozen/test_loader.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/importlib/test/frozen/test_loader.py b/Lib/importlib/test/frozen/test_loader.py index ba512d9..6819a09 100644 --- a/Lib/importlib/test/frozen/test_loader.py +++ b/Lib/importlib/test/frozen/test_loader.py @@ -11,7 +11,7 @@ class LoaderTests(abc.LoaderTests): with util.uncache('__hello__'), captured_stdout() as stdout: module = machinery.FrozenImporter.load_module('__hello__') check = {'__name__': '__hello__', - '__package__': '', + '__package__': '', '__loader__': machinery.FrozenImporter, } for attr, value in check.items(): @@ -22,8 +22,8 @@ class LoaderTests(abc.LoaderTests): def test_package(self): with util.uncache('__phello__'), captured_stdout() as stdout: module = machinery.FrozenImporter.load_module('__phello__') - check = {'__name__': '__phello__', - '__package__': '__phello__', + check = {'__name__': '__phello__', + '__package__': '__phello__', '__path__': ['__phello__'], '__loader__': machinery.FrozenImporter, } @@ -62,7 +62,7 @@ class LoaderTests(abc.LoaderTests): def test_module_repr(self): with util.uncache('__hello__'), captured_stdout(): module = machinery.FrozenImporter.load_module('__hello__') - self.assertEqual(repr(module), + self.assertEqual(repr(module), "<module '__hello__' (frozen)>") def test_state_after_failure(self): |