diff options
| author | Yuval Adam <_@yuv.al> | 2018-04-02 11:13:52 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-04-02 11:16:27 +0300 |
| commit | 6d5e92faea4254101f6eb2bc871e6a8ebb43934e (patch) | |
| tree | 0aa67f64333d31207cdfc56a9e39beb8441038a0 /tests/test_parse.py | |
| parent | 3c6382c6019d154fb6e427e81eb3580ae7b4e34f (diff) | |
Fix formatted string test
Diffstat (limited to 'tests/test_parse.py')
| -rw-r--r-- | tests/test_parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py index d215fd4..f9d445f 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -50,7 +50,7 @@ class TestParse(object): s1 = 'System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' s2 = '6111733106' vs.raw = b'\xff\x01()' + bytes([len(s1)]) + s1.encode() + bytes([len(s2)]) + s2.encode() - assert vs.decode() == 'Formatted string: {} {}'.format(s2, s1) + assert vs.decode() == 'Formatted string: {} type ref {}'.format(s2, s1) @pytest.mark.skip(reason='Datetime parsing not yet supported') def test_datetime(self): |
