Skip to content

Commit e36b73a

Browse files
committed
Little flake8 cleanup
1 parent a51decc commit e36b73a

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

tests/test_dill_pickle.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
import pickle
2-
31
import dill
42

53
import progressbar
64

75

86
def test_dill():
97
bar = progressbar.ProgressBar()
10-
assert bar._started == False
11-
assert bar._finished == False
8+
assert bar._started is False
9+
assert bar._finished is False
1210

13-
assert not dill.pickles(bar)
11+
assert dill.pickles(bar) is False
1412

15-
assert bar._started == False
13+
assert bar._started is False
1614
# Should be false because it never should have started/initialized
17-
assert bar._finished == False
15+
assert bar._finished is False

tests/test_wrappingio.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io
2-
import os
32
import sys
43

54
import pytest

0 commit comments

Comments
 (0)