r47260 - fix test

hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Fri, 15 Apr 2016 23:38:28 -0600 (MDT)
Newsgroups gmane.comp.python.twisted.commits
Message-ID <[email protected]>
Author: hawkowl
Date: Fri Apr 15 23:38:24 2016
New Revision: 47260

Modified:
   branches/moar-windows-8025-7/twisted/trial/test/test_runner.py

Log:
fix test

Modified: branches/moar-windows-8025-7/twisted/trial/test/test_runner.py
==============================================================================
--- branches/moar-windows-8025-7/twisted/trial/test/test_runner.py	(original)
+++ branches/moar-windows-8025-7/twisted/trial/test/test_runner.py	Fri Apr 15 23:38:24 2016
@@ -1038,7 +1038,7 @@
         self.assertEqual(warnings[0]['message'],
             "%s should implement done() but doesn't. Falling back to "
             "printErrors() and friends." % reflect.qual(result.__class__))
-        self.assertEqual(warnings[0]['filename'], __file__)
+        self.assertTrue(__file__.startswith(warnings[0]['filename']))
         self.assertEqual(len(warnings), 1)