From ef1e2e75ba69faadda25bf655162203ace131c51 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 27 Dec 2019 10:10:47 +0000 Subject: [PATCH] test fix --- .github/workflows/pythonpackage.yml | 2 +- tests/test_text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5418e3d9..07195750 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,4 +1,4 @@ -name: Python package +name: Test Rich module on: [push] diff --git a/tests/test_text.py b/tests/test_text.py index 4283bed3..67ba352a 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -185,7 +185,7 @@ def test_split(): assert split[0] == line1 assert split[1] == line2 - assert Text("foo").split("\n") == [Text("foo")] + assert list(Text("foo").split("\n")) == [Text("foo")] def test_divide():