A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

18 Zeilen
440 B

  1. # -*- coding: utf-8 -*-
  2. """
  3. It appears the default distutils test suite doesn't play nice with
  4. ``setUpClass`` thereby making some tests fail. Using ``unittest2`` to load
  5. tests seems to work around that issue.
  6. http://stackoverflow.com/a/17004409/753501
  7. """
  8. import os.path
  9. import unittest
  10. def additional_tests():
  11. project_root = os.path.split(os.path.dirname(__file__))[0]
  12. return unittest.defaultTestLoader.discover(project_root)