Did I find the right examples for you? yes no

All Samples(23)  |  Call(16)  |  Derive(0)  |  Import(7)

src/i/n/input-lib-HEAD/lib/python/nose/suite.py   input-lib(Download)
    def __repr__(self):
        return "<%s tests=generator (%s)>" % (
            unittest._strclass(self.__class__), id(self))
 
    def __hash__(self):
    def __repr__(self):
        return "<%s context=%s>" % (
            unittest._strclass(self.__class__),
            getattr(self.context, '__name__', self.context))
    __str__ = __repr__

src/b/i/biosqlweb-HEAD/app/lib/python/nose/suite.py   biosqlweb(Download)
    def __repr__(self):
        return "<%s tests=generator (%s)>" % (
            unittest._strclass(self.__class__), id(self))
 
    def __hash__(self):
    def __repr__(self):
        return "<%s context=%s>" % (
            unittest._strclass(self.__class__),
            getattr(self.context, '__name__', self.context))
    __str__ = __repr__

src/o/h/oh-mainline-HEAD/vendor/packages/typecheck/tests/support.py   oh-mainline(Download)
import time
 
from unittest import _strclass
 
def run_all_tests(test_mod=None, tests=None):
    def __str__(self):
        return "%s (%s)" % (self.__testMethodName, _strclass(self.__class__))
 
    def __repr__(self):
        return "<%s testMethod=%s>" % \
            (_strclass(self.__class__), self.__testMethodName)

src/d/u/dutest-0.2.4/utils/dutest.py   dutest(Download)
    def __repr__(self):
        return "<%s test=%s line=%s>"% \
                                (unittest._strclass(self.__class__), 
                                self._dt.name, self.lineno)
 

src/f/u/functional-C-0.7.0/tests/support.py   functional(Download)
import gc
 
from unittest import _strclass
 
# Backwards compatibility for Python 2.3
    def __str__(self):
        return "%s (%s)" % (self.__testMethodName, _strclass(self.__class__))
 
    def __repr__(self):
        return "<%s testMethod=%s>" % \
                (_strclass(self.__class__), self.__testMethodName)

src/t/y/typecheck-0.3.5/tests/support.py   typecheck(Download)
import time
 
from unittest import _strclass
 
def run_all_tests(test_mod=None, tests=None):
    def __str__(self):
        return "%s (%s)" % (self.__testMethodName, _strclass(self.__class__))
 
    def __repr__(self):
        return "<%s testMethod=%s>" % \
            (_strclass(self.__class__), self.__testMethodName)

src/a/u/autotest-0.16.2/tko/parsers/test/unittest_hotfix.py   autotest(Download)
def TestResult__repr__(self):
    return "<%s run=%i errors=%i failures=%i skipped=%i>" % (
        unittest._strclass(self.__class__), self.testsRun,
        len(self.errors), len(self.failures), len(self.skipped))
 

src/m/e/META-SHARE-HEAD/lib/python2.7/site-packages/django_jenkins/tasks/windmill_tests.py   META-SHARE(Download)
from imp import find_module
from optparse import make_option
from unittest import _strclass
from windmill.bin import admin_lib
from windmill.authoring import WindmillTestClient
    def shortDescription(self):
            return "%s (%s) under browser %s" % (self._testMethodName,  _strclass(self.__class__), windmill.settings['active_browser'])
 
    def __call__(self, result=None):
        self.windmill = WindmillTestClient(__name__)

src/d/j/django-any-HEAD/django_any/test.py   django-any(Download)
# -*- coding: utf-8 -*-
import time, random
from unittest import _strclass
from django import forms
from django_any import any_form
        def shortDescription(self):            
            return "%s (%s) With seed %s" % (self._testMethodName,  _strclass(self.__class__), getattr(self, '__django_any_seed'))
 
        for name, func in attrs.items():
            if name.startswith('test') and hasattr(func, '__call__'):

src/a/u/autotest-HEAD/tko/parsers/test/unittest_hotfix.py   autotest(Download)
def TestResult__repr__(self):
    return "<%s run=%i errors=%i failures=%i skipped=%i>" % (
        unittest._strclass(self.__class__), self.testsRun,
        len(self.errors), len(self.failures), len(self.skipped))
 

  1 | 2  Next