Skip to content

Instantly share code, notes, and snippets.

@pasali
Created March 24, 2011 16:15
Show Gist options
  • Save pasali/885330 to your computer and use it in GitHub Desktop.
Save pasali/885330 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
#-*-coding:utf-8-*-
import os
import doctest
liste = []
def test():
for i in os.listdir("/home/mhmt/Belgeler"):
if i.endswith(".py"):
if i not in liste:
doctest.testfile(i)
liste.append(i)
test()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment