(self)
| 150 | |
| 151 | @pytest.mark.skipif(sys.version_info > (3, 0), reason="Py2 specific test") |
| 152 | def test_unicode_large(self): |
| 153 | value = "A" * (SafeRepr.maxstring_outer + 10) |
| 154 | |
| 155 | self.assert_shortened(value, "u'" + "A" * 43690 + "..." + "A" * 21845 + "'") |
| 156 | self.assert_shortened([value], "[u'AAAAAAAAAAAAAAAAAAAA...AAAAAAAAAA']") |
| 157 | |
| 158 | @pytest.mark.skipif(sys.version_info < (3, 0), reason="Py3 specific test") |
| 159 | def test_bytes_small(self): |
nothing calls this directly
no test coverage detected