Skip to content

Commit 48726c4

Browse files
committed
mispelled assertRaises
1 parent d36894f commit 48726c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/tests/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
doc = "open"
88
assertRaises(FileNotFoundError, open, "not-existent.file")
99

10-
assertRaised(IsADirectoryError, open, ".")
10+
assertRaises(IsADirectoryError, open, ".")
1111

1212
f = open(__file__)
1313
assert f is not None

0 commit comments

Comments
 (0)