Skip to content

Commit 4999e78

Browse files
committed
Remove unused f-strings
1 parent a22cdc3 commit 4999e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ def test_file_local_read_fail(DATA_DIR):
117117

118118
# Creation check that the file exists
119119
with pytest.raises(KusanagiError):
120-
file = File('foo', path=f'file://invalid.txt', mime='text/plain', size=42)
120+
file = File('foo', path='file://invalid.txt', mime='text/plain', size=42)
121121

122122
# Create a valid file and the change the file name to an invalid one
123-
with mock.patch(f'kusanagi.sdk.file.open', create=True) as mocked_open:
123+
with mock.patch('kusanagi.sdk.file.open', create=True) as mocked_open:
124124
mocked_open.side_effect = Exception
125125

126126
path = os.path.join(DATA_DIR, 'file.txt')

0 commit comments

Comments
 (0)