Commits

Anonymous committed 59dbccb

Whitespace

  • Participants
  • Parent commits 0cec658

Comments (0)

Files changed (1)

nose2/tests/test_doctests.py

 
         self.assertEqual(plug.extensions, ['.txt', '.rst'])
 
-
     def test_handle_file(self):
         """Test method handleFile."""
         # Create doctest files of supported types
 True
 \"\"\"
 """)
-
-
         for event, ext in [(txt_event, 'txt'), (rst_event, 'rst')]:
             test, = event.extraTests
             self.assertTrue(isinstance(test, doctest.DocFileCase))
         test, = list(testsuite)
         self.assertEqual(repr(test), 'docs ()')
 
-
     def test_handle_file_python_without_doctests(self):
         """Test calling handleFile for a Python module without doctests."""
         event = self._handle_file("mod.py", """\
 def func():
     pass
 """)
-
         self.assertEqual(event.extraTests, [])
 
-
     def _handle_file(self, fpath, content):
         """Have plugin handle a file with certain content.
 
         plug.handleFile(event)
         return event
 
-
     def _create(self):
         """Create a DocTestLoader instance."""
         plug = doctests.DocTestLoader()