@@ -2744,7 +2744,7 @@ def test_georadius_with(self, r):
27442744 assert r .georadius ('barcelona' , 2 , 1 , 1 , unit = 'km' ,
27452745 withdist = True , withcoord = True , withhash = True ) == []
27462746
2747- @skip_if_server_version_lt ('3 .2.0' )
2747+ @skip_if_server_version_lt ('6 .2.0' )
27482748 def test_georadius_count (self , r ):
27492749 values = (2.1909389952632 , 41.433791470673 , 'place1' ) + \
27502750 (2.1873744593677 , 41.406342043777 , 'place2' )
@@ -2806,6 +2806,12 @@ def test_georadiusmember(self, r):
28062806 (2.187376320362091 , 41.40634178640635 )],
28072807 [b'place1' , 0.0 , 3471609698139488 ,
28082808 (2.1909382939338684 , 41.433790281840835 )]]
2809+
2810+ @skip_if_server_version_lt ('6.2.0' )
2811+ def test_georadiusmember_count (self , r ):
2812+ values = (2.1909389952632 , 41.433791470673 , 'place1' ) + \
2813+ (2.1873744593677 , 41.406342043777 , b'\x80 place2' )
2814+ r .geoadd ('barcelona' , values )
28092815 assert r .georadiusbymember ('barcelona' , 'place1' , 4000 ,
28102816 count = 1 , any = True ) == \
28112817 [b'\x80 place2' ]
0 commit comments