diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 10:10:47 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 10:10:47 -0500 |
commit | d02be78c3a0ee3022be56c623bb9bdcad1e9acd4 (patch) | |
tree | 1e74153bb4741f6a9e2f1e1f55d2b9960a490bb3 /tests/test_numbits.py | |
parent | a035bde3320a501720ae722dc6b54fe7ff5c8647 (diff) | |
download | python-coveragepy-git-nedbat/unittest2pytest.tar.gz |
style: fix long lines and avoid backslashesnedbat/unittest2pytest
Diffstat (limited to 'tests/test_numbits.py')
-rw-r--r-- | tests/test_numbits.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test_numbits.py b/tests/test_numbits.py index 8216b628..fc27a093 100644 --- a/tests/test_numbits.py +++ b/tests/test_numbits.py @@ -121,10 +121,12 @@ class NumbitsSqliteFunctionTest(CoverageTest): "(select numbits from data where id = 9)" ")" ) + expected = [ + 7, 9, 14, 18, 21, 27, 28, 35, 36, 42, 45, 49, + 54, 56, 63, 70, 72, 77, 81, 84, 90, 91, 98, 99, + ] answer = numbits_to_nums(list(res)[0][0]) - assert [7, 9, 14, 18, 21, 27, 28, 35, 36, 42, 45, 49, - 54, 56, 63, 70, 72, 77, 81, 84, 90, 91, 98, 99] == \ - answer + assert expected == answer def test_numbits_intersection(self): res = self.cursor.execute( |