Skip to content

Commit

Permalink
ogr_dxf.py: fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 11, 2019
1 parent d8765c3 commit a136a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotest/ogr/ogr_dxf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def test_ogr_dxf_22():
lyr = ds.GetLayer(0)

feat = lyr.GetNextFeature()
if feat.GetFieldAsString('Text') != '\A1;test^Itext\~\pt0.2;{\H0.7x;\Sab\/c\~d%%p^ ef\^ g.h\#i;} j{\L\Ok\ol}m':
if feat.GetFieldAsString('Text') != r'\A1;test^Itext\~\pt0.2;{\H0.7x;\Sab\/c\~d%%p^ ef\^ g.h\#i;} j{\L\Ok\ol}m':
feat.DumpReadable()
pytest.fail('bad attribute with DXF_TRANSLATE_ESCAPE_SEQUENCES = FALSE')

Expand Down

0 comments on commit a136a11

Please sign in to comment.