2 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/7c523d635448/
Changeset:   7c523d635448
Branch:      color_option
User:        Marc Abramowitz
Date:        2013-12-08 20:39:55
Summary:     Remove u'' literal in test_color_{yes,no} for Python 3.2 compat
Affected #:  1 file

diff -r f3943e55acb475af23150b573b9af79eace4d859 -r 
7c523d63544881cabcf94ad28a8f04c80350bcda testing/test_terminal.py
--- a/testing/test_terminal.py
+++ b/testing/test_terminal.py
@@ -502,13 +502,13 @@
     testdir.makepyfile("def test_this(): assert 1")
     result = testdir.runpytest('--color=yes')
     assert 'test session starts' in result.stdout.str()
-    assert u'\x1b[1m' in result.stdout.str()
+    assert '\x1b[1m' in result.stdout.str()
 
 def test_color_no(testdir):
     testdir.makepyfile("def test_this(): assert 1")
     result = testdir.runpytest('--color=no')
     assert 'test session starts' in result.stdout.str()
-    assert u'\x1b[1m' not in result.stdout.str()
+    assert '\x1b[1m' not in result.stdout.str()
 
 def test_getreportopt():
     class config:


https://bitbucket.org/hpk42/pytest/commits/cb8469dd75dd/
Changeset:   cb8469dd75dd
User:        hpk42
Date:        2013-12-08 20:56:21
Summary:     Merged in msabramo/pytest/color_option (pull request #91)

Remove u'' literal in test_color_{yes,no} for Python 3.2 compat
Affected #:  1 file

diff -r 31f89c6b25d63db5e81582529e787f8b93838260 -r 
cb8469dd75ddbd0556e0b5454e81cef9b77bb47b testing/test_terminal.py
--- a/testing/test_terminal.py
+++ b/testing/test_terminal.py
@@ -502,13 +502,13 @@
     testdir.makepyfile("def test_this(): assert 1")
     result = testdir.runpytest('--color=yes')
     assert 'test session starts' in result.stdout.str()
-    assert u'\x1b[1m' in result.stdout.str()
+    assert '\x1b[1m' in result.stdout.str()
 
 def test_color_no(testdir):
     testdir.makepyfile("def test_this(): assert 1")
     result = testdir.runpytest('--color=no')
     assert 'test session starts' in result.stdout.str()
-    assert u'\x1b[1m' not in result.stdout.str()
+    assert '\x1b[1m' not in result.stdout.str()
 
 def test_getreportopt():
     class config:

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to