Skip to content

Commit 0cafd06

Browse files
author
DvirDukhan
committed
fixed pytorch tests
1 parent ebf9f23 commit 0cafd06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/flow/tests_pytorch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,13 @@ def test_pytorch_scriptdel(env):
254254
con2 = env.getSlaveConnection()
255255
env.assertFalse(con2.execute_command('EXISTS', 'ket{1}'))
256256

257-
con.execute_command('DEL', 'EMPTY')
257+
con.execute_command('DEL', 'EMPTY{1}')
258258
# ERR no script at key from SCRIPTDEL
259-
check_error_message(env, con, "script key is empty", 'AI.SCRIPTDEL', 'EMPTY')
259+
check_error_message(env, con, "script key is empty", 'AI.SCRIPTDEL', 'EMPTY{1}')
260260

261-
con.execute_command('SET', 'NOT_SCRIPT', 'BAR')
261+
con.execute_command('SET', 'NOT_SCRIPT{1}', 'BAR')
262262
# ERR wrong type from SCRIPTDEL
263-
check_error_message(env, con, "WRONGTYPE Operation against a key holding the wrong kind of value", 'AI.SCRIPTDEL', 'NOT_SCRIPT')
263+
check_error_message(env, con, "WRONGTYPE Operation against a key holding the wrong kind of value", 'AI.SCRIPTDEL', 'NOT_SCRIPT{1}')
264264

265265
def test_pytorch_scriptexecute(env):
266266
if not TEST_PT:

0 commit comments

Comments
 (0)