Ruff pandas vet (#10281)
* Python linting: Add ruff rules for Pandas-vet and Pytest-style
* updating DIRECTORY.md
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -203,7 +203,7 @@ class SHA256HashTest(unittest.TestCase):
|
||||
import hashlib
|
||||
|
||||
msg = bytes("Test String", "utf-8")
|
||||
self.assertEqual(SHA256(msg).hash, hashlib.sha256(msg).hexdigest())
|
||||
assert SHA256(msg).hash == hashlib.sha256(msg).hexdigest()
|
||||
|
||||
|
||||
def main() -> None:
|
||||
|
||||
Reference in New Issue
Block a user