From 41191800613dd48ad641460496ccf76e72bd777a Mon Sep 17 00:00:00 2001 From: yokochi47 Date: Sat, 6 Apr 2024 01:54:32 +0900 Subject: [PATCH] PEP8 clean up --- wwpdb/utils/tests-nmr/test_daother_8817_ann_next.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wwpdb/utils/tests-nmr/test_daother_8817_ann_next.py b/wwpdb/utils/tests-nmr/test_daother_8817_ann_next.py index afa4f7d94..fcbde9c44 100644 --- a/wwpdb/utils/tests-nmr/test_daother_8817_ann_next.py +++ b/wwpdb/utils/tests-nmr/test_daother_8817_ann_next.py @@ -7,7 +7,6 @@ import unittest import os import json -from shutil import copyfile try: from wwpdb.utils.nmr.NmrDpUtility import NmrDpUtility @@ -95,7 +94,7 @@ def __test_nmr_str2str_deposit(self, entry_id): with open(entry_dir + entry_id + '-str2str-deposit-log.json', 'r') as file: report = json.loads(file.read()) - if not report['error'] is None: + if report['error'] is not None: self.assertNotIn('internal_error', report['error']) self.assertIsNone(report['error'])