JetBrains / teamcity-messages

Python Unit Test Reporting to TeamCity
https://pypi.python.org/pypi/teamcity-messages
Apache License 2.0
137 stars 81 forks source link

Python2 fails with unicode_literals #214

Open ghost opened 5 years ago

ghost commented 5 years ago
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

import unittest
from teamcity.unittestpy import TeamcityTestRunner

class TestSample(unittest.TestCase):
    def test_sample1(self):
        """ sample1 サンプル"""
        self.assertTrue(True)

if __name__ == '__main__':
    unittest.main(testRunner=TeamcityTestRunner())

https://youtrack.jetbrains.com/issue/PY-35491

ghost commented 5 years ago

Please also see https://youtrack.jetbrains.com/issue/PY-35466