]> granicus.if.org Git - python/commitdiff
Whitespace cleanup.
authorEric V. Smith <eric@trueblade.com>
Fri, 25 May 2012 00:22:10 +0000 (20:22 -0400)
committerEric V. Smith <eric@trueblade.com>
Fri, 25 May 2012 00:22:10 +0000 (20:22 -0400)
Lib/importlib/test/frozen/test_loader.py

index ba512d9a7ebcb94640d03aca3571d7a4a8591271..6819a09b8719bd531c148f7d3079d698385c36f8 100644 (file)
@@ -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):