A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

24 rindas
450 B

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