Skip to content

Commit dcd35fe

Browse files
committed
💚 update unit tests
1 parent b481ef3 commit dcd35fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/data_loaders/test_yaml_loader.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def test_inheritance_yaml():
1717
eq_(data, {"key": "hello world", "pass": "ox"})
1818

1919

20-
@raises(IOError)
2120
def test_exception():
2221
test_file = fs.path.join("tests", "fixtures", "orphan.yaml")
23-
load_data(fs.path.join("tests", "fixtures", "config"), test_file)
22+
data = load_data(fs.path.join("tests", "fixtures", "config"), test_file)
23+
eq_(len(data), 0)
2424

2525

2626
@raises(IOError)

0 commit comments

Comments
 (0)