Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

redundant loop #3584

Merged
merged 1 commit into from
Apr 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_mutators.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ def test_flatten(self):
# check there was a mutation
assert ex1['text'] == "\n".join(e['text'] for e in [EXAMPLE1])
assert ex2['text'] == "\n".join(
h for h in [EXAMPLE1['text'], EXAMPLE1['labels'][0], EXAMPLE2['text']]
[EXAMPLE1['text'], EXAMPLE1['labels'][0], EXAMPLE2['text']]
)
assert ex3['text'] == "\n".join(e['text'] for e in [EXAMPLE3])
assert ex4['text'] == "\n".join(
h for h in [EXAMPLE3['text'], EXAMPLE3['labels'][0], EXAMPLE4['text']]
[EXAMPLE3['text'], EXAMPLE3['labels'][0], EXAMPLE4['text']]
)

def test_last_turn(self):
Expand Down