summaryrefslogtreecommitdiff
path: root/systemd/test/test_journal.py
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/test/test_journal.py')
-rw-r--r--systemd/test/test_journal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/test/test_journal.py b/systemd/test/test_journal.py
index fd38036..582b031 100644
--- a/systemd/test/test_journal.py
+++ b/systemd/test/test_journal.py
@@ -194,14 +194,14 @@ def test_reader_has_runtime_files(tmpdir):
with j:
with skip_oserror(errno.ENOSYS):
ans = j.has_runtime_files()
- assert ans == False
+ assert ans is False
def test_reader_has_persistent_files(tmpdir):
j = journal.Reader(path=tmpdir.strpath)
with j:
with skip_oserror(errno.ENOSYS):
ans = j.has_runtime_files()
- assert ans == False
+ assert ans is False
def test_reader_converters(tmpdir):
converters = {'xxx' : lambda arg: 'yyy'}