1. Jason Pellerin
  2. nose2

Commits

jpellerin  committed 9819e3b

Added loader initialization

  • Participants
  • Parent commits 23b9a9b
  • Branches default

Comments (0)

Files changed (1)

File nose2/tests/_common.py

View file
         super(FakeHandleFileEvent, self).__init__()
 
         self.loader = unittest2.loader.TestLoader()
+        self.loader._top_level_dir = os.getcwd()
         self.name = name
         self.path = os.path.split(name)[1]
         self.extraTests = []