Jason R. Coombs avatar Jason R. Coombs committed 5d16485

Cleaned up excess whitespace

Comments (0)

Files changed (1)

setuptools/tests/__init__.py

         distutils.core_setup_stop_after = None
 
 
-
-
 class DependsTests(unittest.TestCase):
 
     def testExtractConst(self):
         if not extract_constant: return  # skip on non-bytecode platforms
 
         def f1():
-            global x,y,z
+            global x, y, z
             x = "test"
             y = z
 
         # recognized name, not assigned
         self.assertEqual(extract_constant(f1.func_code,'z', -1), None)
 
-
     def testFindModule(self):
         self.assertRaises(ImportError, find_module, 'no-such.-thing')
         self.assertRaises(ImportError, find_module, 'setuptools.non-existent')
-        f,p,i = find_module('setuptools.tests'); f.close()
+        f,p,i = find_module('setuptools.tests')
+        f.close()
 
     def testModuleExtract(self):
         if not get_module_constant: return  # skip on non-bytecode platforms
             package_dir = {},
         )
 
-
     def testDistroType(self):
         self.assert_(isinstance(self.dist,setuptools.dist.Distribution))
 
-
     def testExcludePackage(self):
         self.dist.exclude_package('a')
         self.assertEqual(self.dist.packages, ['b','c'])
         # test removals from unspecified options
         makeSetup().exclude_package('x')
 
-
-
-
-
-
-
     def testIncludeExclude(self):
         # remove an extension
         self.dist.exclude(ext_modules=[self.e1])
         self.dist.exclude_package('c')
         self.assert_(not self.dist.has_contents_for('c'))
 
-
-
-
     def testInvalidIncludeExclude(self):
         self.assertRaises(DistutilsSetupError,
             self.dist.include, nonexistent_option='x'
         )
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
 class FeatureTests(unittest.TestCase):
 
     def setUp(self):
         ts5 = makeSetup().get_command_obj('test')
         ts5.ensure_finalized()
         self.assertEqual(ts5.test_suite, None)
-
-
-
-
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.