Skip to content

Commit

Permalink
Avoid escaping single quotes within single
Browse files Browse the repository at this point in the history
Co-Authored-By: Morendil <laurent.git@bossavit.com>
  • Loading branch information
fpagnoux and Morendil committed Apr 13, 2019
1 parent 9694f2c commit 1290318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/test_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_trace_enums():
tracer.record_calculation_end("A", 2017, HousingOccupancyStatus.encode(np.array(['tenant'])))

lines = tracer.computation_log()
assert lines[0] == ' A<2017> >> [\'tenant\']'
assert lines[0] == " A<2017> >> ['tenant']"


# Tests on tracing with fancy indexing
Expand Down

0 comments on commit 1290318

Please sign in to comment.