Skip to content

Commit

Permalink
fix:test
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed May 6, 2024
1 parent d602ecf commit 9e8d421
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 156 deletions.
6 changes: 4 additions & 2 deletions fakeredis/_fakesocket.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from typing import Optional, Set

from fakeredis.stack import JSONCommandsMixin, BFCommandsMixin, CFCommandsMixin, CMSCommandsMixin, TopkCommandsMixin
from fakeredis.stack import (
JSONCommandsMixin, BFCommandsMixin, CFCommandsMixin, CMSCommandsMixin, TopkCommandsMixin,
TDigestCommandsMixin,
)
from ._basefakesocket import BaseFakeSocket
from .commands_mixins.bitmap_mixin import BitmapCommandsMixin
from .commands_mixins.connection_mixin import ConnectionCommandsMixin
Expand All @@ -9,7 +12,6 @@
from .commands_mixins.hash_mixin import HashCommandsMixin
from .commands_mixins.list_mixin import ListCommandsMixin
from .commands_mixins.pubsub_mixin import PubSubCommandsMixin
from .stack._tdigest_mixin import TDigestCommandsMixin

try:
from .commands_mixins.scripting_mixin import ScriptingCommandsMixin
Expand Down
5 changes: 4 additions & 1 deletion fakeredis/stack/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from ._tdigest_mixin import TDigestCommandsMixin
from ._topk_mixin import TopkCommandsMixin # noqa: F401

try:
Expand Down Expand Up @@ -40,4 +41,6 @@ class CMSCommandsMixin: # type: ignore # noqa: E303
"JSONObject",
"BFCommandsMixin",
"CFCommandsMixin",
"CMSCommandsMixin", ]
"CMSCommandsMixin",
"TDigestCommandsMixin",
]
153 changes: 0 additions & 153 deletions fakeredis/stack/_tdigest.py

This file was deleted.

0 comments on commit 9e8d421

Please sign in to comment.