1# -*- coding: utf-8 -*- 2import os 3import sys 4import unittest 5from nose.plugins.capture import Capture 6from nose.plugins import PluginTester 7 8support = os.path.join(os.path.dirname(__file__), 'support') 9 10class TestIssue649(PluginTester, unittest.TestCase): 11 activate = '' 12 args = ['-v'] 13 plugins = [Capture()] 14 suitepath = os.path.join(support, 'issue649') 15 16 def runTest(self): 17 print str(self.output) 18 assert 'UnicodeDecodeError' not in self.output 19