2 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/8349ef6ba227/
Changeset:   8349ef6ba227
Branch:      python32-test-fix
User:        bubenkoff
Date:        2013-11-12 13:48:17
Summary:     support python32
Affected #:  1 file

diff -r 257206079babf818a2819a44f5cf30c64d572287 -r 
8349ef6ba227d9e478bc5e11a1467198d17efa32 testing/test_monkeypatch.py
--- a/testing/test_monkeypatch.py
+++ b/testing/test_monkeypatch.py
@@ -46,10 +46,10 @@
         assert _pytest.config.Config == 42
 
     def test_unicode_string(self, monkeypatch):
-        monkeypatch.setattr(u"_pytest.config.Config", 42)
+        monkeypatch.setattr("_pytest.config.Config", 42)
         import _pytest
         assert _pytest.config.Config == 42
-        monkeypatch.delattr(u"_pytest.config.Config")
+        monkeypatch.delattr("_pytest.config.Config")
 
     def test_wrong_target(self, monkeypatch):
         pytest.raises(TypeError, lambda: monkeypatch.setattr(None, None))


https://bitbucket.org/hpk42/pytest/commits/8a2c31cbe904/
Changeset:   8a2c31cbe904
User:        hpk42
Date:        2013-11-13 07:43:35
Summary:     Merged in paylogic/pytest/python32-test-fix (pull request #82)

support python32 fix
Affected #:  1 file

diff -r 257206079babf818a2819a44f5cf30c64d572287 -r 
8a2c31cbe904a3ca26dce8653dbae2e0962c2e9c testing/test_monkeypatch.py
--- a/testing/test_monkeypatch.py
+++ b/testing/test_monkeypatch.py
@@ -46,10 +46,10 @@
         assert _pytest.config.Config == 42
 
     def test_unicode_string(self, monkeypatch):
-        monkeypatch.setattr(u"_pytest.config.Config", 42)
+        monkeypatch.setattr("_pytest.config.Config", 42)
         import _pytest
         assert _pytest.config.Config == 42
-        monkeypatch.delattr(u"_pytest.config.Config")
+        monkeypatch.delattr("_pytest.config.Config")
 
     def test_wrong_target(self, monkeypatch):
         pytest.raises(TypeError, lambda: monkeypatch.setattr(None, None))

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